Skip to content

Commit

Permalink
Merge pull request #624 from icflorescu/next
Browse files Browse the repository at this point in the history
Make tableWrapper prop optional
  • Loading branch information
icflorescu authored Jul 30, 2024
2 parents 6652b94 + 15b4d74 commit 86cd06d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/types/DataTableProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ export type DataTableProps<T = Record<string, unknown>> = {
*
* examplle: This function can be used with rowFactory if using drag and drop to pass context
*/
tableWrapper: ({ children }: { children: React.ReactNode }) => React.ReactNode;
tableWrapper?: ({ children }: { children: React.ReactNode }) => React.ReactNode;

/**
* Optional function returning an object of custom attributes to be applied to each row in the table.
Expand Down

0 comments on commit 86cd06d

Please sign in to comment.