JSPM

@instructure/ui-tabs

6.13.1-rc.6+2c90608f1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5248
  • Score
    100M100P100Q145674F
  • License MIT

A UI component library made by Instructure Inc.

Package Exports

  • @instructure/ui-tabs
  • @instructure/ui-tabs/lib/TabList
  • @instructure/ui-tabs/lib/Tabs

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 build-status MIT License Code of Conduct

Installation

yarn add @instructure/ui-tabs

Usage

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