initial work with mui

This commit is contained in:
ari committed 2022-05-24 21:12:01 -04:00
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 { AutomationTime } from "types/automations/common";
@@ -14,9 +15,9 @@ export default {
const Template: ComponentStory<typeof InputTime> = args => {
const [value, setValue] = useState<AutomationTime | undefined>(undefined);
return <div className="page">
return <Page>
<InputTime {...args} value={value} onChange={setValue} />
</div>
</Page>
}
export const SimpleText = Template.bind({})