initial work with mui
This commit is contained in:
1 parent
f8233dd6ab
commit
44c4ac12dd
35 files changed
+216
-145
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import { ComponentMeta, ComponentStory } from "@storybook/react";
|
||||
import { Page } from "components/Page";
|
||||
import { useState } from "react";
|
||||
|
||||
import InputText from "./InputText";
|
||||
@@ -13,9 +14,9 @@ export default {
|
||||
const Template: ComponentStory<typeof InputText> = args => {
|
||||
|
||||
const [value, setValue] = useState('')
|
||||
return <div className="page">
|
||||
return <Page>
|
||||
<InputText {...args} value={value} onChange={setValue} />
|
||||
</div>
|
||||
</Page>
|
||||
}
|
||||
|
||||
export const SimpleText = Template.bind({})
|
||||
|
||||
Reference in new issue
Block a user