@temporg/ui-tabs
v99.10.0
Published
A UI component library made by Rock Content
Downloads
30
Readme
category: packages
ui-tabs
Components
The ui-tabs
package contains the following:
Deprecated Components
The following components will be removed in version 7.0.0.
- TabList (use Tabs instead)
Installation
yarn add @temporg/ui-tabs
Usage
---
example: false
---
import React from 'react'
import { Tabs } from '@temporg/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>
)
}