GridResponsiveCardProps
Props for the GridResponsiveCard component.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
children | (ctx: ResponsiveCardContext<TRow>) => ReactNode | Render function for the card content. Receives the row data and row index. |
cardRowHeight? | number | auto | Card row height in pixels. Use ‘auto’ for dynamic height based on content. |
Property Details
Section titled “Property Details”children
Section titled “children”<GridResponsiveCard> {({ row, index }) => ( <div className="custom-card"> <img src={row.avatar} alt={row.name} /> <span>{row.name}</span> </div> )}</GridResponsiveCard>cardRowHeight
Section titled “cardRowHeight”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