JSPM

@instructure/ui-tabs

7.3.5
  • 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

Readme


category: packages

ui-tabs

npm  build-status  MIT License  Code of Conduct

Components

The ui-tabs package contains the following:

Installation

yarn add @instructure/ui-tabs

Usage

---
example: false
---
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>
  )
}