|
Download wp-calypso/packages/components/src/list-tile/README.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 478 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/components/src/list-tile/README.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/packages/components/src/list-tile/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/components/src/list-tile/README.md
478 Bytes
ListTile
Renders a ListTile component.
How to use
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.