JSPM

@instructure/ui-tabs

10.12.1-snapshot-7
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3077
  • Score
    100M100P100Q145566F
  • License MIT

A UI component library made by Instructure Inc.

Package Exports

    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-tabs) 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-tabs

    npm MIT License Code of Conduct

    Components

    The ui-tabs package contains the following:

    Installation

    npm install @instructure/ui-tabs

    Usage

    ---
    type: code
    ---
    import React from 'react'
    import { Tabs } from '@instructure/ui-tabs'
    
    export default MyTabs = function () {
      return (
        <Tabs>
          <Tabs.Panel renderTitle="First Tab">
            Tab One
          </Tabs.Panel>
          <Tabs.Panel renderTitle="Second Tab" isSelected>
            Tab Two
          </Tabs.Panel>
          <Tabs.Panel renderTitle="Third Tab" isDisabled>
            Tab Three
          </Tabs.Panel>
        </Tabs>
      )
    }