Skip to content

Commit

Permalink
refactor: change string to constants
Browse files Browse the repository at this point in the history
  • Loading branch information
greenblues1190 committed Oct 10, 2022
1 parent 1b76f94 commit f587560
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ComponentMeta, ComponentStory } from "@storybook/react";
import useModalContext from "../../../hooks/useModalContext";
import Button from "../../@common/Button/Button";
import Button, { BUTTON_VARIANT } from "../../@common/Button/Button";
import ApplicationPreviewModalWindow from "./ApplicationPreviewModalWindow";

export default {
Expand All @@ -13,7 +13,13 @@ const Template: ComponentStory<typeof ApplicationPreviewModalWindow> = (args) =>

return (
<div style={{ height: "200vh", backgroundColor: "white", padding: "1rem" }}>
<Button type="button" variant="contained" cancel={false} className onClick={openModal}>
<Button
type="button"
variant={BUTTON_VARIANT.CONTAINED}
cancel={false}
className
onClick={openModal}
>
open modal
</Button>
<Modal>
Expand Down

0 comments on commit f587560

Please sign in to comment.