From 7965011255b474cf60202d97bf8ba2c980727d1f Mon Sep 17 00:00:00 2001 From: Jiajun Chen Date: Wed, 21 Sep 2022 04:16:36 +0800 Subject: [PATCH] docs: fix column-visibility state type typo (#4389) --- docs/api/features/column-visibility.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/features/column-visibility.md b/docs/api/features/column-visibility.md index b8404b2332..824139c1d2 100644 --- a/docs/api/features/column-visibility.md +++ b/docs/api/features/column-visibility.md @@ -64,7 +64,7 @@ Returns a function that can be used to toggle the column visibility. This functi ### `onColumnVisibilityChange` ```tsx -onColumnVisibilityChange?: OnChangeFn +onColumnVisibilityChange?: OnChangeFn ``` 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.