nillud-data-table 1.1.1 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -50,7 +50,7 @@ type TableProps = {
50
50
  ExportSectionComponent?: React.ComponentType<{
51
51
  wordBtn: boolean;
52
52
  excelBtn: boolean;
53
- downloadSectionLeftSideContent: React.ReactNode;
53
+ downloadSectionLeftSideContent: ReactElement | null;
54
54
  tableData: TableData;
55
55
  columns: Array<Column>;
56
56
  tableName: string;
@@ -60,7 +60,7 @@ type TableProps = {
60
60
  width: number;
61
61
  }> | null;
62
62
  wordOptions?: any;
63
- }>;
63
+ }> | null;
64
64
  };
65
65
  type DataTableRef = {
66
66
  getData: () => TableData;
package/dist/index.js CHANGED
@@ -413,7 +413,7 @@ var DataTable = forwardRef(({
413
413
  groupBy = null,
414
414
  isTitles = false,
415
415
  wordOptions,
416
- ExportSectionComponent
416
+ ExportSectionComponent = null
417
417
  }, ref) => {
418
418
  const [filters, setFilters] = useState({});
419
419
  const [sortBy, setSortBy] = useState({ col: "", type: "asc" });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nillud-data-table",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",