@instructure/ui-drawer-layout
TypeScript icon, indicating that this package has built-in type declarations

8.38.0 • Public • Published

category: packages

ui-drawer-layout

npm  MIT License  Code of Conduct

A main-content-plus-tray layout component

Components

The ui-drawer-layout package contains the following:

Installation

yarn add @instructure/ui-drawer-layout

Usage

import React from 'react'
import { DrawerLayout } from '@instructure/ui-drawer-layout'

const MyLayout = () => {
  return (
    <DrawerLayout>
      <DrawerLayout.Tray>Hello from layout tray</DrawerLayout.Tray>
      <DrawerLayout.Content>Hello from layout content</DrawerLayout.Content>
    </DrawerLayout>
  )
}

Keywords

none

Install

npm i @instructure/ui-drawer-layout

DownloadsWeekly Downloads

1,708

Version

8.38.0

License

MIT

Unpacked Size

738 kB

Total Files

98

Last publish

Collaborators

  • jakeoeding
  • camray
  • cjs118
  • matyas.szabo
  • herrtopi
  • angela.gomba
  • kyler-instructure
  • instuici
  • eschiebel
  • maths22
  • jcrystal
  • skacsmark
  • itadmins
  • quizzesuici
  • instructure-toolsmiths-service-user
  • aogata-inst
  • instout