File size: 478 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# ListTile
Renders a ListTile component.
## How to use
```jsx
import { ListTile } from '@automattic/components';
function render() {
return <ListTile title="Title" />;
}
```
## Props
- `title`: a string or react node representing the title of the list tile.
- `subtitle`: an optional string or react node.
- `leading`: an optional leading component to be displayed in the list tile.
- `trailing`: an optional trailing component to be displayed in the list tile. eg icon.
|