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

10.20.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

npm install @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>
  )
}

Readme

Keywords

none

Package Sidebar

Install

npm i @instructure/ui-drawer-layout

Weekly Downloads

4,580

Version

10.20.0

License

MIT

Unpacked Size

342 kB

Total Files

78

Last publish

Collaborators

  • jakeoeding
  • instuici
  • eschiebel
  • maths22
  • jcrystal
  • itadmins
  • instructure-toolsmiths-service-user
  • aogata-inst
  • kyler-instructure
  • ericsaupe
  • xcudder
  • jdewar
  • jguardadom
  • jcflow
  • jozsefg-instructure
  • jacksonhowe
  • sarahgerard
  • ajmal-esa
  • robinkuss64
  • david.wenzlick.inst
  • razorsh4rk
  • ardena
  • bpjatacsuk
  • angela.gomba
  • joyenjoyer
  • cguanzon-inst
  • herrtopi
  • matyas.szabo
  • cjs118
  • camray
  • dmz985
  • aaronshaf
  • szilard.doro-inst
  • martongreczi-inst
  • instout
  • svcquizzesnpm
  • balazs.buri.instructure
  • mstarkman
  • daniel-torok
  • fmarcso
  • peipeizhou
  • is-adamszabo