2019-07-22 14:48:06 +00:00
|
|
|
# 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 |
|
2019-07-29 09:06:32 +00:00
|
|
|
| `isOpen` | `bool` | - | - | `false` | State of component |
|