category: packages
ui-layout
Installation
yarn add @instructure/ui-layout
Usage
import React from 'react'
import { DrawerLayout } from '@instructure/ui-layout'
const MyLayout = () => {
return (
<DrawerLayout>
<DrawerLayout.Tray>Hello from layout tray</DrawerLayout.Tray>
<DrawerLayout.Content>Hello from layout content</DrawerLayout.Content>
</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.
License
MIT