Skip to content

@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

NameTypeDescriptionDefined in
items?ListItem<T>[]Data items to display in the gridpackages/react/src/jsx.ts:705
renderItem()(item) => ReactNodeFunction to render each grid itempackages/react/src/jsx.ts:707

Type Parameters

Type ParameterDefault type
Tunknown