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

9.0.1 • 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>
  )
}

/@instructure/ui-drawer-layout/

    Package Sidebar

    Install

    npm i @instructure/ui-drawer-layout

    Weekly Downloads

    17,025

    Version

    9.0.1

    License

    MIT

    Unpacked Size

    732 kB

    Total Files

    98

    Last publish

    Collaborators

    • bpjatacsuk
    • ajmal-esa
    • razorsh4rk
    • david.wenzlick.inst
    • robinkuss64
    • ardena
    • jcflow
    • jguardadom
    • jdewar
    • xcudder
    • ericsaupe
    • joyenjoyer
    • omarpr
    • cguanzon-inst
    • sarahgerard
    • jacksonhowe
    • jakeoeding
    • camray
    • cjs118
    • matyas.szabo
    • herrtopi
    • angela.gomba
    • kyler-instructure
    • instuici
    • eschiebel
    • maths22
    • jcrystal
    • skacsmark
    • itadmins
    • quizzesuici
    • instructure-toolsmiths-service-user
    • aogata-inst
    • instout