DocSpace-client/web/ASC.Web.Common/src/components/PageLayout
2020-09-18 17:06:58 +03:00
..
locales ASC.Web.Common: ArticlePinPanel: styles and texts fixed 2019-12-23 16:07:38 +03:00
sub-components Web: Common: fixed progress styles 2020-09-18 17:06:58 +03:00
i18n.js Web Common: simplified configuration of i18n 2020-08-14 22:32:21 +03:00
index.js Web: Common: Unpin sidebar if not enough screen width 2020-09-17 15:52:07 +03:00
page-layout.stories.js web: Common: Added withProvider decorator for storybook 2020-01-10 16:58:46 +03:00
page-layout.test.js ASC.Web.Common: PageLayout: saving the pinned state in local storage 2020-01-24 14:59:55 +03:00
README.md ASC.Web.Common: PageLayout: saving the pinned state in local storage 2020-01-24 14:59:55 +03:00

PageLayout

Default page layout

Usage

import { PageLayout } from "asc-web-common";
<PageLayout
  articleHeaderContent={articleHeaderContent}
  articleMainButtonContent={articleMainButtonContent}
  articleBodyContent={articleBodyContent}
  sectionHeaderContent={sectionHeaderContent}
  sectionFilterContent={sectionFilterContent}
  sectionBodyContent={sectionBodyContent}
  sectionPagingContent={sectionPagingContent}
/>

Properties

Props Type Required Values Default Description
articleHeaderContent bool - - - Article header content
articleMainButtonContent bool - - - Article main button content
articleBodyContent bool - - - Article body content
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