Skip to content

Commit 6561267

Browse files
Nathan IsaacKevinVandy
Nathan Isaac
andauthoredJan 4, 2024
docs: fix meta data example (#5256)
* docs: fix meta data example * Update column-def.md --------- Co-authored-by: Kevin Van Cott <kevinvandy656@gmail.com>
1 parent 43989f2 commit 6561267

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎docs/api/core/column-def.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ meta?: ColumnMeta // This interface is extensible via declaration merging. See b
9595
The meta data to associated with the column. We can access it anywhere when the column is available via `column.columnDef.meta`. This type is global to all tables and can be extended like so:
9696

9797
```tsx
98-
import '@tanstack/react-table'
98+
import '@tanstack/react-table' //or vue, svelte, solid, etc.
9999
100-
declare module '@tanstack/table-core' {
100+
declare module '@tanstack/react-table' {
101101
interface ColumnMeta<TData extends RowData, TValue> {
102102
foo: string
103103
}

0 commit comments

Comments
 (0)
Please sign in to comment.