storiesOf('Statefull/class', module) .addParameters({ readme: { // Show readme at the addons panel sidebar: CounterReadme, }, }) .add('Crono', () => ( <Crono /> ));
storiesOf('Stateless', module) .addParameters({ readme: { // Show readme at the addons panel sidebar: RatingStarReadme, }, }) .add('Rating', () => ( <RatingStar rating={number('Rating', 1)} maxRating={number('Max Rating', 5)} /> ));
storiesOf('Stateless', module) .addParameters({ readme: { // Show readme at the addons panel sidebar: AvatarReadme, }, }) .add('Avatar', () => ( <Avatar img={text('Image', 'http://aquaroecole.com/assets/images/avatar.png')} /> ));
storiesOf('Statefull/class', module) .addParameters({ readme: { // Show readme at the addons panel sidebar: GifFinderReadme, }, }) .add('GifFinder', () => ( <GifFinder /> ));
storiesOf('Statefull/hooks', module) .addParameters({ readme: { // Show readme at the addons panel sidebar: CounterReadme, }, }) .add('Counter', () => ( <Counter /> ));
storiesOf('Statefull/class', module) .addParameters({ readme: { // Show readme at the addons panel sidebar: CounterReadme, }, }) .add('Counter', () => ( <Counter /> ));
storiesOf('Statefull/hooks', module) .addParameters({ readme: { // Show readme at the addons panel sidebar: CounterReadme, }, }) .add('Crono', () => ( <Crono /> ));
storiesOf('Statefull/hooks', module) .addParameters({ readme: { // Show readme at the addons panel sidebar: GifFinderReadme, }, }) .add('GifFinder', () => ( <GifFinder /> ));