|
Download tabler-react/docs/Introduction.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 766 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/tabler-react/docs/Introduction.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/tabler-react/docs/Introduction.md
-
curl -L -o Introduction.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/tabler-react/docs/Introduction.md
766 Bytes
| **[Demo](https://tabler.github.io/tabler-react/)** | **[Issues](https://github.com/tabler/tabler-react/issues)** | **[Slack](https://tabler-ui.slack.com/messages/CA55LDVHU/)**. | |
| ## Install | |
| Make sure you have [Node.js](https://nodejs.org/) 8+ and [yarn](https://yarnpkg.com) installed. | |
| `yarn add tabler-react` | |
| ## Basic Usage Example | |
| ```jsx static | |
| import React, { Component } from "react"; | |
| import "tabler-react/dist/Tabler.css"; | |
| import { Card, Button } from "tabler-react"; | |
| class MyCard extends Component { | |
| render() { | |
| return ( | |
| <Card> | |
| <Card.Header> | |
| <Card.Title>Card Title</Card.Title> | |
| </Card.Header> | |
| <Card.Body> | |
| <Button color="primary">A Button</Button> | |
| </Card.Body> | |
| </Card> | |
| ); | |
| } | |
| } | |
| ``` | |