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

99.10.0 • Public • Published

category: packages

ui-drawer-layout

npm  build-status  MIT License  Code of Conduct

A main-content-plus-tray layout component

Components

The ui-drawer-layout package contains the following:

Installation

yarn add @temporg/ui-drawer-layout

Usage

import React from 'react'
import { DrawerLayout } from '@temporg/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 @temporg/ui-drawer-layout

Weekly Downloads

1

Version

99.10.0

License

MIT

Unpacked Size

106 kB

Total Files

43

Last publish

Collaborators

  • npm