Skip to content

Commit

Permalink
feat: change export and import of Dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
HyejinYang committed Apr 26, 2024
1 parent ab83a02 commit 17abe7a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/design-system/src/components/Dialog/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export { default as Dialog } from "./Dialog";
export { default } from "./Dialog";

export type {
DialogBase,
Expand Down
1 change: 1 addition & 0 deletions packages/design-system/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export { default as Alert } from "./components/Alert";
export { default as Button } from "./components/Button";
export { default as Chip } from "./components/Chip";
export { default as Checkbox } from "./components/Checkbox";
export { default as Dialog } from "./components/Dialog";
export { default as DataTable } from "./components/DataTable";
export { default as DatePicker } from "./components/DatePicker";
export { default as Dropdown } from "./components/Dropdown";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ import React, { useState } from "react";
import { Box } from "@mui/material";
import Error from "@lunit/design-system-icons/Error";

import Button from "../../../components/Button";

import { Dialog } from "../../../components/Dialog";
import Button from "@/components/Button";
import Dialog from "@/components/Dialog";

import type { Meta, StoryObj } from "@storybook/react";

Expand Down

0 comments on commit 17abe7a

Please sign in to comment.