Skip to content

Commit

Permalink
fix(tables): make DataTable tableOptions prop partial
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangabriele committed Oct 24, 2024
1 parent d90d769 commit 939c501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tables/DataTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export type DataTableProps<T extends AnyObject> = {
data: T[] | undefined
initialSorting: SortingState
isTableHeadHidden?: boolean | undefined
tableOptions?: TableOptions<T> | undefined
tableOptions?: Partial<TableOptions<T>> | undefined
}
export function DataTable<T extends AnyObject>({
columns,
Expand Down

0 comments on commit 939c501

Please sign in to comment.