mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-16 17:49:09 +00:00
chore: add create-component tool
This commit is contained in:
parent
62687ced78
commit
6708f5c6fc
9 changed files with 185 additions and 3 deletions
|
@ -0,0 +1,8 @@
|
|||
import { EditorUtility } from './EditorUtility';
|
||||
|
||||
export default {
|
||||
title: 'Templates/Editor Utility',
|
||||
component: EditorUtility,
|
||||
};
|
||||
|
||||
export const editorUtility = (args) => <EditorUtility {...args} />;
|
|
@ -0,0 +1,2 @@
|
|||
import styled from 'styled-components';
|
||||
export const EditorUtilityStyled = styled.div``;
|
|
@ -0,0 +1,5 @@
|
|||
import { EditorUtilityStyled } from './EditorUtility.styled';
|
||||
|
||||
export const EditorUtility = () => (
|
||||
<EditorUtilityStyled>EditorUtility</EditorUtilityStyled>
|
||||
);
|
1
packages/design-system/templates/editor-utility/index.ts
Normal file
1
packages/design-system/templates/editor-utility/index.ts
Normal file
|
@ -0,0 +1 @@
|
|||
export * from './EditorUtility';
|
Loading…
Add table
Add a link
Reference in a new issue