Skip to content

Commit

Permalink
docs: you your typo (#5561)
Browse files Browse the repository at this point in the history
Small typo for column type definitions.
  • Loading branch information
joeyfigaro authored May 16, 2024
1 parent 85f3f9e commit a6e6c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Define your data as an array of objects with a stable reference. `data` can come

#### Defining Columns

Column definitions are covered in detail in the previous section in the [Column Def Guide](../column-defs). We'll note here, however, that when you define the type of your columns, you should use the same `TData` type that you used for you data.
Column definitions are covered in detail in the previous section in the [Column Def Guide](../column-defs). We'll note here, however, that when you define the type of your columns, you should use the same `TData` type that you used for your data.

```ts
const columns: ColumnDef<User>[] = [] //Pass User type as the generic TData type
Expand Down

0 comments on commit a6e6c3b

Please sign in to comment.