List Row
Data · ListRow
JPJonah PetitCan we move the review to Thursday?
SLSun LeePayout file for March is attached
BillingCard ending 4417 expires soon
Props
ListRow
| Prop | Type | Notes |
|---|---|---|
avatar? | string | |
icon? | IconName | |
tint? | Tint | "plain" | |
leading? | ReactNode | |
title | ReactNode | Required |
subtitle? | ReactNode | |
meta? | ReactNode | |
trailing? | ReactNode | |
unread? | boolean | |
active? | boolean | |
onClick? | () => void | |
href? | string | Makes the row a link (with `linkAs` for a router's link). |
linkAs? | ElementType | |
actions? | ReactNode | Buttons of the row's own (rename, remove …), outside the clickable area so nothing interactive is nested. Without `onClick` and `href` the row is not interactive at all. |
titleLines? | number | Lines the title may take before it ends in an ellipsis (default: it wraps freely). |
subtitleLines? | number | Lines the subtitle may take (default 1); badges and facts wrap within them. |
className? | string | Extra class on the root element. |
style? | CSSProperties | Inline style on the root element. |