cleanup storybook

This commit is contained in:
41666 2021-07-04 13:17:13 -05:00
parent 1829035694
commit 17bceae60f
3 changed files with 1 additions and 9 deletions

View file

@ -1,9 +1,9 @@
module.exports = { module.exports = {
stories: [ stories: [
'../*.stories.mdx',
...['atoms', 'molecules', 'organisms', 'templates'].map( ...['atoms', 'molecules', 'organisms', 'templates'].map(
(dir) => `../${dir}/**/*.stories.@(tsx|mdx)` (dir) => `../${dir}/**/*.stories.@(tsx|mdx)`
), ),
'*.stories.mdx',
], ],
addons: ['@storybook/addon-links', '@storybook/addon-essentials'], addons: ['@storybook/addon-links', '@storybook/addon-essentials'],
reactOptions: { reactOptions: {

View file

@ -1,8 +0,0 @@
import * as React from 'react';
type Props = {
children: React.ReactNode;
};
const Link = (props: Props) => <>{props.children}</>;
export default Link;