From 9f28ecb507be344d525d59a986c3225eb741bc3a Mon Sep 17 00:00:00 2001 From: Josh Barwick Date: Fri, 22 Nov 2024 17:23:58 -0600 Subject: [PATCH] correct typo --- docs/guide/migrating.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/migrating.md b/docs/guide/migrating.md index ecafbf0449..1aae1c911c 100644 --- a/docs/guide/migrating.md +++ b/docs/guide/migrating.md @@ -73,7 +73,7 @@ Types are now included in the base package, so you can remove the `@types/react- ### Update column definitions - accessor was renamed to either `accessorKey` or `accessorFn` (depending on whether you are using a string or function) -- width, minWidth, maxWidth where renamed to size, minSize, maxSize +- width, minWidth, maxWidth were renamed to size, minSize, maxSize - Optionally, you can use the new `createColumnHelper` function around each column definition for better TypeScript hints. (You can still just use an array of column definitions if you prefer.) - The first parameter is the accessor function or accessor string. - The second parameter is an object of column options.