mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-21 07:32:02 +00:00
26 lines
1.1 KiB
JavaScript
26 lines
1.1 KiB
JavaScript
// Copyright (C) 2017-2020 Smart code 203358507
|
|
|
|
const React = require('react');
|
|
const { storiesOf } = require('@storybook/react');
|
|
const VerticalNavBar = require('stremio/common/VerticalNavBar');
|
|
|
|
const TABS = [
|
|
{ route: 'board', label: 'Board', icon: 'ic_board' },
|
|
{ route: 'discover', label: 'Discover', icon: 'ic_discover' },
|
|
{ route: 'library', label: 'Library', icon: 'ic_library' },
|
|
{ route: 'calendar', label: 'Calendar', icon: 'ic_calendar' },
|
|
{ route: 'addons', label: 'Addons', icon: 'ic_addons' },
|
|
{ route: 'settings', label: 'Settings', icon: 'ic_settings' },
|
|
{ route: 'board', label: 'Board', icon: 'ic_board' },
|
|
{ route: 'discover', label: 'Discover', icon: 'ic_discover' },
|
|
{ route: 'library', label: 'Library', icon: 'ic_library' },
|
|
{ route: 'calendar', label: 'Calendar', icon: 'ic_calendar' },
|
|
{ route: 'addons', label: 'Addons', icon: 'ic_addons' },
|
|
{ route: 'settings', label: 'Settings', icon: 'ic_settings' }
|
|
];
|
|
|
|
storiesOf('NavBar', module).add('LongVerticalNavBar', () => (
|
|
<VerticalNavBar
|
|
tabs={TABS}
|
|
/>
|
|
));
|