DocSpace-client/packages/shared/components/row-container
2024-03-21 18:09:55 +04:00
..
index.tsx Replaced copyright start year + format 2024-03-21 18:09:55 +04:00
README.md Client: fix wrong import - export for shared components 2024-01-10 11:01:43 +03:00
RowContainer.stories.tsx Replaced copyright start year + format 2024-03-21 18:09:55 +04:00
RowContainer.styled.ts Replaced copyright start year + format 2024-03-21 18:09:55 +04:00
RowContainer.test.tsx Replaced copyright start year + format 2024-03-21 18:09:55 +04:00
RowContainer.tsx Replaced copyright start year + format 2024-03-21 18:09:55 +04:00
RowContainer.types.ts Replaced copyright start year + format 2024-03-21 18:09:55 +04:00

RowContainer

Container for Row component

Usage

import { RowContainer } from "@docspace/shared/components/row-container";
<RowContainer manualHeight="500px">{children}</RowContainer>

Properties

Props Type Required Values Default Description
className string - - - Accepts class
id string - - rowContainer Accepts id
itemHeight number - - 50 Height of one Row element. Required for scroll to work properly
manualHeight string - - - Allows you to set fixed block height for Row
style obj, array - - - Accepts css style
useReactWindow bool - - true Use react-window for efficiently rendering large lists