moved back the components

This commit is contained in:
ari committed 2021-12-01 16:38:30 -05:00
1 parent 24afb602cb
commit 0764feb432
18 files changed
+786

No files matched your search

@@ -0,0 +1,24 @@
import { ComponentMeta, ComponentStory } from "@storybook/react";
import { useState } from "react";
import { usePageTheme } from "styles/page";
import InputText from "./InputText";
export default {
title: 'Inputs/InputText',
component: InputText,
parameters: { actions: { argTypesRegex: '^on.*' } },
} as ComponentMeta<typeof InputText>;
const Template: ComponentStory<typeof InputText> = args => {
const { classes } = usePageTheme({});
const [value, setValue] = useState('')
return <div className={classes.page}>
<InputText {...args} value={value} onChange={setValue} />
</div>
}
export const SimpleText = Template.bind({})
SimpleText.args = {
label: "Entity ID",
}