react-toggle-list
Version:
Provides easy toggle list with React.
52 lines (31 loc) • 736 B
Markdown
# react-toggle-list
The `react-toggle-list` is can hide and show content inside.
## Document
- [Installation](#installation)
- [How to use](#how-to-use)
- [Contribute](#contribute)
## Installation
This library use `react-toggle-list`, so you need to install it.
```bash
npm install --save react-toggle-list
```
or
```bash
yarn add react-toggle-list
```
## How to use
```tsx
import { ReactToggleList } from 'react-toggle-list';
const subItems = ['string1', 'string2', 'string3'];
<ReactToggleList title="example" subItems={subItems} />;
```
## Contribute
You can follow below to contribute `react-toggle-list`
Clone the repository.
```bash
git clone https://github.com/in-ch/react-file-folder.git
```