web: Components: Fixed RowContainer component readme

This commit is contained in:
Ilya Oleshko 2019-11-21 16:28:00 +03:00
parent baa793af6b
commit 1f0f8b41c2

View File

@ -1,25 +1,21 @@
# RowContainer
## Usage
Container for Row component
### Usage
```js
import { RowContainer } from "asc-web-components";
```
#### Description
Container for rows
#### Usage
```js
```jsx
<RowContainer manualHeight="500px">{children}</RowContainer>
```
#### Properties
### Properties
| Props | Type | Required | Values | Default | Description |
| ---------------- | -------- | :------: | ------ | ------- | --------------------------------------------------------------- |
| `manualHeight` | `string` | - | | - | Allows you to set fixed block height for Row |
| `itemHeight` | `number` | - | | 50 | Height of one Row element. Required for scroll to work properly |
| `useReactWindow` | `bool` | - | | true | Use react-window for efficiently rendering large lists |
| Props | Type | Required | Values | Default | Description |
| ---------------- | :------: | :------: | :----: | :-----: | --------------------------------------------------------------- |
| `manualHeight` | `string` | - | - | - | Allows you to set fixed block height for Row |
| `itemHeight` | `number` | - | - | `50` | Height of one Row element. Required for scroll to work properly |
| `useReactWindow` | `bool` | - | - | `true` | Use react-window for efficiently rendering large lists |