GridProviderProps
Props for the GridProvider component.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
icons? | Partial<GridIcons> | Icon overrides to provide to all descendant grids. Optional - only specify if you want to customize icons. |
defaults? | TypeDefaultsMap | Type-level default renderers and editors. Optional - only specify if you want custom type defaults. |
children | ReactNode |
Property Details
Section titled “Property Details”icons={{ expand: '➕', collapse: '➖', sortAsc: '↑', sortDesc: '↓',}}defaults
Section titled “defaults”defaults={{ country: { renderer: (ctx) => <CountryBadge value={ctx.value} />, editor: (ctx) => <CountrySelect value={ctx.value} onCommit={ctx.commit} /> }, date: { renderer: (ctx) => formatDate(ctx.value), }}}
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt