import React from 'react'; import { storiesOf } from '@storybook/react'; import { Addon, Checkbox, LibraryItemList, MetaItem, ShareAddon, Stream, UserPanel, Video } from 'stremio-common'; import appStyles from '../src/app/styles'; import styles from './styles'; const storyStyle = { padding: '10px', overflow: 'auto', minHeight: 'initial' }; storiesOf('Addon', module) .add('not-installed', () => (
)) .add('installed', () => (
)) .add('long-description', () => (
)) .add('long-urls', () => (
)); storiesOf('Checkbox', module) .add('checked-disabled', () => (
)) .add('not-checked-disabled', () => (
)) .add('not-checked', () => (
)) .add('checked', () => (
)) storiesOf('LibraryItemList', module) .add('library item list', () => (
)); storiesOf('MetaItem', module) .add('poster', () => (
)) .add('with-title', () => (
)) .add('with-progress', () => (
)) .add('landscape-shape', () => (
)); storiesOf('ShareAddon', module) .add('share addon', () => (
)); storiesOf('Stream', module) .add('no-logo-title', () => (
)) .add('no-logo-subtitle', () => (
)) .add('logo-progress', () => (
)) .add('long-source-name', () => (
)) .add('long-title-subtitle', () => (
)); storiesOf('UserPanel', module) .add('user panel', () => (
)); storiesOf('Video', module) .add('poster-upcoming-watched-long-title', () => (
)) .add('poster-watched', () => (
)) .add('no-poster-progress', () => (
)) .add('poster-progress', () => (
)) .add('no-poster-upcoming', () => (
));