deku-tabs
v4.3.0
Published
Simple tab component for deku
Downloads
13
Readme
deku-tabs
Simple tab component for deku
Install
$ npm install --save deku-tabs
Usage
import Tabs from 'deku-tabs';
export function render() {
const items = [{
content: <div>Content 1</div>,
heading: 'Heading 1'
}, {
active: true,
content: <div>Content 2</div>,
heading: 'Heading 2'
}, {
content: <div>Content 3</div>,
heading: 'Heading 3'
}];
return (
<Tabs items={items}/>
);
}
License
MIT © Andreas Gillström