diff --git a/src/components/DataTableAsync/DataTableAsync.js b/src/components/DataTableAsync/DataTableAsync.js new file mode 100644 index 0000000..030471d --- /dev/null +++ b/src/components/DataTableAsync/DataTableAsync.js @@ -0,0 +1,45 @@ +import React from 'react'; +import { __ } from '@wordpress/i18n'; + +// components +import { DataTable } from 'primereact/datatable'; +import { Column } from 'primereact/column'; + +import translationStrings from '../../translationStringsForComponents'; + +const DataTableAsync = ({ + items = [], + totalRecordsNum = 0, + isLoading = false, + onPageChangeFn = () => { + } + }) => { + + return ( +
+ setFilters(e.filters)}> + + +
+ ) +} + +export default DataTableAsync; \ No newline at end of file