JSPM

@instructure/ui-layout

5.52.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 958
  • Score
    100M100P100Q13637F
  • License MIT

A UI component library made by Instructure Inc.

Package Exports

  • @instructure/ui-layout
  • @instructure/ui-layout/lib/components/ContextView
  • @instructure/ui-layout/lib/components/DrawerLayout
  • @instructure/ui-layout/lib/components/Flex
  • @instructure/ui-layout/lib/components/Grid
  • @instructure/ui-layout/lib/components/Media
  • @instructure/ui-layout/lib/components/Position
  • @instructure/ui-layout/lib/components/Position/locator
  • @instructure/ui-layout/lib/components/Responsive
  • @instructure/ui-layout/lib/components/View
  • @instructure/ui-layout/lib/utils/LayoutPropTypes
  • @instructure/ui-layout/lib/utils/calculateElementPosition
  • @instructure/ui-layout/lib/utils/mirrorPlacement

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@instructure/ui-layout) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme


category: packages

ui-layout

npm build-status MIT License Code of Conduct

Installation

yarn add @instructure/ui-layout

Usage

import React from 'react'
import DrawerLayout, { DrawerTray, DrawerContent } from '@instructure/ui-layout/lib/components/DrawerLayout'

export default MyLayout = function () {
  return (
    <DrawerLayout>
      <DrawerTray>Hello from layout tray</DrawerTray>
      <DrawerContent>Hello from layout content</DrawerContent>
    </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