DocSpace-client/web/ASC.Web.Components/example/stories/content-row/base
2019-07-03 16:05:12 +03:00
..
base.content-row.stories.js Web: Fixed ContentRow base story 2019-07-03 16:05:12 +03:00
README.md Web: Added component ContentRow and its use on the example of people row 2019-07-03 14:36:44 +03:00

ContentRow

Usage

import { ContentRow } from 'asc-web-components';

Description

Base ContentRow.

Usage

<ContentRow checkBox='' avatar='' contextButton={optionData}>{rowItem}</ContentRow>

Properties

Props Type Required Values Default Description
checkBox element - Required to host the Checkbox component. Its location is fixed and it is always the first. If there is no value, the occupied space is distributed among the other child elements.
avatar element - Required to host the Avatar component. It has a fixed order of location, if the Checkbox component is specified, then it follows, otherwise it occupies the first position. If there is no value, the occupied space is distributed among the other child elements.
contextButton element - Required to host the ContextMenuButton component. It is always located near the right border of the container, regardless of the contents of the child elements. If there is no value, the occupied space is distributed among the other child elements.