JSPM

@instructure/ui-tabs

11.2.1-snapshot-9
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5248
  • Score
    100M100P100Q145669F
  • License MIT

A UI component library made by Instructure Inc.

Package Exports

  • @instructure/ui-tabs
  • @instructure/ui-tabs/es/index.js
  • @instructure/ui-tabs/lib/Tabs
  • @instructure/ui-tabs/lib/Tabs/index.js
  • @instructure/ui-tabs/lib/index.js

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

ui-tabs

npm MIT License Code of Conduct

Components

The ui-tabs package contains the following:

Installation

npm install @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>
  )
}