extracted speeddial

This commit is contained in:
ari committed 2022-06-29 12:12:05 -04:00
1 parent fe4f0e9881
commit 6da5a7592e
5 files changed
+117 -52

No files matched your search

@@ -0,0 +1,31 @@
import { ComponentStory } from "@storybook/react";
import { Page } from "components/Page";
import { SpeedDial } from ".";
import SettingsApplicationsIcon from "@mui/icons-material/SettingsApplications";
import { ButtonIcon } from "components/Icons/ButtonIcons";
import { DeleteForeverOutlined } from "@mui/icons-material";
import EditIcon from "@mui/icons-material/Edit";
export default {
title: "Nav/SpeedDial",
component: SpeedDial,
};
export const IconList: ComponentStory<typeof SpeedDial> = () => {
return (
<Page>
<div
style={{
maxWidth: "10em",
maxHeight: "10em",
}}
>
<SpeedDial icon={<SettingsApplicationsIcon />}>
<ButtonIcon icon={<DeleteForeverOutlined />} />
<ButtonIcon icon={<EditIcon />} />
</SpeedDial>
</div>
</Page>
);
};