web: Components: Fixed RowContainer component readme
This commit is contained in:
parent
baa793af6b
commit
1f0f8b41c2
@ -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 |
|
||||
|
Loading…
Reference in New Issue
Block a user