List Row
One row in a list. Replaces tables in the app.
Usage
import { ListRow } from '@smartui/react';
import '@smartui/react/styles.css';When to use
- Lists in the app: bookings, settings, history.
When not to use
- Multi-column data on web. Use Data Grid.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | required | |
description | string | - | |
leading, trailing | ReactNode | - | |
showChevron | boolean | false | |
onPress | () => void | - |
Accessibility
- The whole row is one touch target, at least 56 px tall.