storybook/examples/official-storybook/stories/other-dirname.stories.js
2019-06-27 22:55:22 +08:00

17 lines
313 B
JavaScript

import React from 'react';
import base from 'paths.macro';
import BaseButton from '../components/BaseButton';
export const story1 = () => <BaseButton label="Story 1" />;
story1.story = {
name: 'story 1',
};
export const story2 = () => <BaseButton label="Story 2" />;
story2.story = {
name: 'story 2',
};