UNPKG

@itwin/itwinui-layouts-react

Version:

iTwinUI package that provides React components for most common layouts

24 lines (23 loc) 1.1 kB
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *--------------------------------------------------------------------------------------------*/ import React from 'react'; import cx from 'classnames'; import Content from './Content'; import ToolsArea from './ToolsArea'; import { Header } from './Header'; import SideNavigation from './SideNavigation'; import TitleArea from './TitleArea'; import BottomBar from './BottomBar'; export var PageLayout = function (props) { var className = props.className, style = props.style, children = props.children; return (React.createElement("div", { className: cx('iui-layouts-page', className), style: style }, children)); }; PageLayout.Header = Header; PageLayout.SideNavigation = SideNavigation; PageLayout.Content = Content; PageLayout.ToolsArea = ToolsArea; PageLayout.TitleArea = TitleArea; PageLayout.BottomBar = BottomBar; export default PageLayout;