|
Download tabler-react/src/components/Button/ButtonList.examples.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.52 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/tabler-react/src/components/Button/ButtonList.examples.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/tabler-react/src/components/Button/ButtonList.examples.md
-
curl -L -o ButtonList.examples.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/tabler-react/src/components/Button/ButtonList.examples.md
1.52 kB
| ```jsx | |
| <Button.List> | |
| <Button color="success">Save changes</Button> | |
| <Button color="secondary">Save and continue</Button> | |
| <Button color="danger">Cancel</Button> | |
| </Button.List> | |
| ``` | |
| If the list is very long, it will automatically wrap on multiple lines, | |
| while keeping all buttons evenly spaced. | |
| ```jsx | |
| <Button.List> | |
| <Button color="secondary">One</Button> | |
| <Button color="secondary">Two</Button> | |
| <Button color="secondary">Three</Button> | |
| <Button color="secondary">Four</Button> | |
| <Button color="secondary">Five</Button> | |
| <Button color="secondary">Six</Button> | |
| <Button color="secondary">Seven</Button> | |
| <Button color="secondary">Eight</Button> | |
| <Button color="secondary">Nine</Button> | |
| <Button color="secondary">Ten</Button> | |
| <Button color="secondary">Eleven</Button> | |
| <Button color="secondary">Twelve</Button> | |
| <Button color="secondary">Thirteen</Button> | |
| <Button color="secondary">Fourteen</Button> | |
| <Button color="secondary">Fifteen</Button> | |
| <Button color="secondary">Sixteen</Button> | |
| <Button color="secondary">Seventeen</Button> | |
| <Button color="secondary">Eighteen</Button> | |
| <Button color="secondary">Nineteen</Button> | |
| </Button.List> | |
| ``` | |
| ### List Buttons Alignment | |
| ```jsx | |
| <Button.List align="center"> | |
| <Button color="primary">color='primary'</Button> | |
| <Button color="secondary">color='secondary'</Button> | |
| </Button.List> | |
| ``` | |
| ```jsx | |
| <Button.List align="right"> | |
| <Button color="primary">color='primary'</Button> | |
| <Button color="secondary">color='secondary'</Button> | |
| </Button.List> | |
| ``` | |