DocSpace-client/packages/common/components/Section
2023-09-14 19:26:49 +03:00
..
sub-components Web:Common:Section: fix padding for tablet and mobile window size 2023-09-14 19:26:49 +03:00
i18n.js
index.js Web:Client: fix blinking trash navigation 2023-09-13 15:52:04 +03:00
README.md
section.stories.js Web:Common/Client/Components: add PUBLIC_DIR alias 2023-01-27 17:08:30 +03:00
section.test.js

Section

Default section

Usage

import Section from "@docspace/common/components/Section";
<Section withBodyScroll={true}>
  <Section.SectionHeader>{sectionHeaderContent}</Section.SectionHeader>

  <Section.SectionFilter>{sectionFilterContent}</Section.SectionFilter>

  <Section.SectionBody>{sectionBodyContent}</Section.SectionBody>

  <Section.SectionPaging>{sectionPagingContent}</Section.SectionPaging>
</Section>

Properties

Props Type Required Values Default Description
sectionHeaderContent bool - - - Section header content
sectionFilterContent bool - - - Section filter content
sectionBodyContent bool - - - Section body content
sectionPagingContent bool - - - Section paging content
withBodyScroll bool - - true If you need display scroll inside content
withBodyAutoFocus bool - - false If you need set focus on content element