Props
interface RecordCardProps extends RecordCardStyleProps
attachmentCoverField | Field Attachment field to display as an image in the square preview for the card. If omitted or not an attachment field, it uses for the first attachment field in |
className | undefined | string Additional class names to apply to the record card. |
expandRecordOptions | ExpandRecordOpts | null Options object for expanding a record. |
fields | Array<Field> Fields to display in the card. The primary field is always displayed. |
height | undefined | number Height of the record card. |
onClick |
Click event handler for the record card. If undefined, uses default behavior to expand record. If null, no operation is performed. |
onMouseEnter |
Mouse enter event handler for the record card. |
onMouseLeave |
Mouse leave event handler for the record card. |
record | Record | RecordDef Record to display in the card. |
renderInvalidCellValue | undefined | Render function if provided and validation fails. |
style | React.CSSProperties Additional styles to apply to the record card. |
view | View The view model to use for field order and record coloring. |
width | undefined | number Width of the record card. |