2019-09-08 15:28:32 +00:00
|
|
|
# RowContainer
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```js
|
2019-09-10 08:50:37 +00:00
|
|
|
import { RowContainer } from "asc-web-components";
|
2019-09-08 15:28:32 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
#### Description
|
|
|
|
|
|
|
|
Container for rows
|
|
|
|
|
|
|
|
#### Usage
|
|
|
|
|
|
|
|
```js
|
2019-09-10 08:50:37 +00:00
|
|
|
<RowContainer manualHeight="500px">{children}</RowContainer>
|
2019-09-08 15:28:32 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
#### Properties
|
|
|
|
|
2019-11-15 12:23:05 +00:00
|
|
|
| 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 |
|