README
Sixt React Components
What is this repository for?
- This repository contains a list of components
How to install
- npm install @sixtrdindia/rc
Components available in this library
- Input
- Accordion
- Button
- Checkbox
- Collapsible
- Loader
- Modal
- Radio
- RadioGroup
- Select
- Table
- Tabs
- Textarea
- Toast
- ToggleButton
- Tooltip
In order to use Modal and Toast, you have to include,
<div id="modal-root"></div>
<div id="toast-root"></div>
in your index.html as both of those components use React Portals.
To use tooltip
import {Tooltip} from '@sixtrdindia/rc'
<Tooltip value={`What needs to be shown in the tooltip, can also take html passed as string`}>
<span>element to show tooltip for</span>
</Tooltip>
Docs and demo page coming soon.
Please feel free to contribute here.