DocSpace-buildtools/web/ASC.Web.Storybook/stories/toggle-content/base/README.md

26 lines
861 B
Markdown
Raw Normal View History

# ToggleContent
## Usage
```js
import { ToggleContent } from 'asc-web-components';
```
#### Description
ToggleContent allow you to adding information, which you may hide/show by clicking header
#### Usage
```js
<ToggleContent>
// your data
<ToggleContent />
```
#### Properties
| Props | Type | Required | Values | Default | Description |
| ------------------ | -------- | :------: | --------------------------- | -------------- | ----------------------------------------------------------------- |
| `label` | `text` | ✅ | - | Some label | Define label for header |
| `isOpen` | `bool` | - | - | `false` | State of component |