DocSpace-buildtools/packages/asc-web-common/components/Section
2022-07-04 17:47:12 +03:00
..
sub-components Fixed Bug 57721: Web: Files: Removed burger menu button from header in OFORM Gallery 2022-06-22 14:45:25 +03:00
i18n.js Web: i18n: Replaced i18next-http-backend package with custom realization from @appserver/common/utils/i18next-http-backend (fix issue: too many same translations files are loading at once) 2022-07-04 17:47:12 +03:00
index.js Fixed Bug 57769 - Docs: fixed banner selection 2022-06-29 17:47:10 +03:00
README.md Web:Common: rename page layout component to section component and update stories, readme and sub-components 2022-03-16 15:22:48 +03:00
section.stories.js Web:Common: rename page layout component to section component and update stories, readme and sub-components 2022-03-16 15:22:48 +03:00
section.test.js Web:Common: rename page layout component to section component and update stories, readme and sub-components 2022-03-16 15:22:48 +03:00

Section

Default section

Usage

import Section from "@appserver/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