Skip to content

Commit

Permalink
docs: fix column-visibility state type typo (#4389)
Browse files Browse the repository at this point in the history
  • Loading branch information
tychenjiajun authored Sep 20, 2022
1 parent d102571 commit 7965011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/features/column-visibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Returns a function that can be used to toggle the column visibility. This functi
### `onColumnVisibilityChange`
```tsx
onColumnVisibilityChange?: OnChangeFn<ColumnVisibilityState>
onColumnVisibilityChange?: OnChangeFn<VisibilityState>
```
If provided, this function will be called with an `updaterFn` when `state.columnVisibility` changes. This overrides the default internal state management, so you will need to persist the state change either fully or partially outside of the table.
Expand Down

0 comments on commit 7965011

Please sign in to comment.