Skip to content

Commit

Permalink
feat: #330 Develop missing components
Browse files Browse the repository at this point in the history
  • Loading branch information
klmhyeonwoo committed Sep 10, 2024
1 parent 4468813 commit 43eefee
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
27 changes: 27 additions & 0 deletions apps/web/src/component/write/modal/component/QuestionStatus.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { css } from "@emotion/react";

import { Typography } from "@/component/common/typography";

type QuestionStatusProps = {
currentPhase: number;
totalPhase: number;
};

export function QuestionStatus({ currentPhase, totalPhase }: QuestionStatusProps) {
return (
<div
css={css`
display: flex;
align-items: center;
column-gap: 0.4rem;
`}
>
<Typography variant={"subtitle16SemiBold"} color={"gray900"}>
질문 {currentPhase}
</Typography>
<Typography variant={"subtitle16SemiBold"} color={"gray500"}>
/ {totalPhase}
</Typography>
</div>
);
}
1 change: 1 addition & 0 deletions apps/web/src/component/write/modal/component/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { QuestionStatus } from "./QuestionStatus.tsx";

0 comments on commit 43eefee

Please sign in to comment.