Skip to content

GridResponsiveCardProps

Props for the GridResponsiveCard component.

PropertyTypeDescription
children(ctx: ResponsiveCardContext<TRow>) => ReactNodeRender function for the card content. Receives the row data and row index.
cardRowHeight?number | autoCard row height in pixels. Use ‘auto’ for dynamic height based on content.
<GridResponsiveCard>
{({ row, index }) => (
<div className="custom-card">
<img src={row.avatar} alt={row.name} />
<span>{row.name}</span>
</div>
)}
</GridResponsiveCard>

Default: 'auto'


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