@gtkx/react / GridViewProps
Type Alias: GridViewProps<T>
GridViewProps<
T> =BaseListViewProps&object
Defined in: packages/react/src/jsx.ts:703
Props for the GtkGridView compound component.
Extends the shared list-view base props with item data and a render callback for each grid cell.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
items? | ListItem<T>[] | Data items to display in the grid | packages/react/src/jsx.ts:705 |
renderItem() | (item) => ReactNode | Function to render each grid item | packages/react/src/jsx.ts:707 |
Type Parameters
| Type Parameter | Default type |
|---|---|
T | unknown |