Skip to content

Commit

Permalink
refactor: Coachmark 공통 컴포넌트 폴더로 이동
Browse files Browse the repository at this point in the history
  • Loading branch information
YuHyun-P committed Feb 3, 2024
1 parent 648a759 commit 577395e
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import { ACTIONS, EVENTS } from "react-joyride";

import {
Coachmark,
type CoachmarkProps,
} from "../../../design-system/components/common";
import { toClassSelector } from "../../../utils/cssSelector";
import { Coachmark, type CoachmarkProps } from "../../coachmark";

interface QuizCoachmarkProps {
onTourEnd: () => void;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import { style, styleVariants } from "@vanilla-extract/css";

import color from "../../design-system/tokens/color";
import typography from "../../design-system/tokens/typography";
import {
borderRadius,
flexAlignCenter,
} from "../../design-system/tokens/utils.css";
import color from "../../../tokens/color";
import typography from "../../../tokens/typography";
import { borderRadius, flexAlignCenter } from "../../../tokens/utils.css";

export const container = style([
borderRadius,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import ReactJoyride, { type Props as JoyrideProps } from "react-joyride";

import color from "../../design-system/tokens/color";
import { coachmarkZIndex } from "../../design-system/tokens/utils.css";
import color from "../../../tokens/color";
import { coachmarkZIndex } from "../../../tokens/utils.css";

import { CoachTooltip } from "./CoachTooltip";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ export { default as Footer } from "./Footer";
export { default as Info } from "./Info";
export { CodeBlock } from "./CodeBlock";
export { default as LinkButton } from "./LinkButton";
export { Coachmark, type CoachmarkProps } from "./Coachmark";

0 comments on commit 577395e

Please sign in to comment.