0.2.6 • Published 8 months ago

@logo-rn/logo-segment-tab v0.2.6

Weekly downloads
-
License
See license in LI...
Repository
-
Last release
8 months ago

@logo-rn/logo-segment-tab

can be used to select options, switch views or sort elements.

npm version

Installation

Install the component:

npm i @logo-rn/logo-segment-tab -s

Usage

Once installed, import the component in your application:

import {LogoSegmentTab} from '@logo-rn/logo-segment-tab';
  const segmentTabOptions = [
   { value: "Tab1", label: "Label1" },
   { value: "Tab2", label: "Label2" },
 ]
   const [inputType, setInputType] = React.useState(segmentTabOptions[0]);
 //..
     <LogoSegmentTab
       options={segmentTabOptions}
       onChange={(value: string) => setInputType(value)} />

For more detailed information, please visit:

Logo Elements Documentation ↗

0.2.6

8 months ago

0.2.3

8 months ago

0.2.2

9 months ago

0.2.5

8 months ago

0.2.4

8 months ago

0.2.1

11 months ago

0.2.0

12 months ago

0.1.0

2 years ago