Skip to content

Commit

Permalink
docs: correct typo (#5813)
Browse files Browse the repository at this point in the history
  • Loading branch information
JBarwick89 authored Dec 30, 2024
1 parent 226c677 commit 7c0d8e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/migrating.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7c0d8e5

Please sign in to comment.