chore: add create-component tool

This commit is contained in:
41666 2021-07-17 20:25:10 -04:00
parent 62687ced78
commit 6708f5c6fc
9 changed files with 185 additions and 3 deletions

View file

@ -0,0 +1,8 @@
import { EditorUtility } from './EditorUtility';
export default {
title: 'Templates/Editor Utility',
component: EditorUtility,
};
export const editorUtility = (args) => <EditorUtility {...args} />;

View file

@ -0,0 +1,2 @@
import styled from 'styled-components';
export const EditorUtilityStyled = styled.div``;

View file

@ -0,0 +1,5 @@
import { EditorUtilityStyled } from './EditorUtility.styled';
export const EditorUtility = () => (
<EditorUtilityStyled>EditorUtility</EditorUtilityStyled>
);

View file

@ -0,0 +1 @@
export * from './EditorUtility';