Package Exports
- @instructure/ui-layout
- @instructure/ui-layout/lib/components/DrawerLayout
- @instructure/ui-layout/lib/components/Flex
- @instructure/ui-layout/lib/components/Grid
- @instructure/ui-layout/lib/components/Media
- @instructure/ui-layout/lib/components/Position
- @instructure/ui-layout/lib/components/Responsive
- @instructure/ui-layout/lib/utils/LayoutPropTypes
- @instructure/ui-layout/lib/utils/calculateElementPosition
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@instructure/ui-layout) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
category: packages
ui-layout
Installation
yarn add @instructure/ui-layoutUsage
import React from 'react'
import DrawerLayout, { DrawerTray, DrawerContent } from '@instructure/ui-layout/lib/components/DrawerLayout'
export default MyLayout = function () {
return (
<DrawerLayout>
<DrawerTray>Hello from layout tray</DrawerTray>
<DrawerContent>Hello from layout content</DrawerContent>
</DrawerLayout>
)
}Components
The ui-layout package contains the following components:
Utilities
The ui-layout package contains the following utilities:
Contribute
See the contributing guidelines for details.