diff --git a/fe/src/App.tsx b/fe/src/App.tsx
index 40f8f621c..ef67d8324 100644
--- a/fe/src/App.tsx
+++ b/fe/src/App.tsx
@@ -23,34 +23,98 @@ export default function App() {
Theme Mode
-
+
+
+
+
+
+
+
+
+
+
+
);
}
diff --git a/fe/src/components/Dropdown/DropdownIndicator.tsx b/fe/src/components/Dropdown/DropdownIndicator.tsx
index 5d881cebb..7a88bbd4a 100644
--- a/fe/src/components/Dropdown/DropdownIndicator.tsx
+++ b/fe/src/components/Dropdown/DropdownIndicator.tsx
@@ -2,12 +2,19 @@ import { useState } from "react";
import { styled } from "styled-components";
import DropdownPanel from "@components/Dropdown/DropdownPanel";
import chevronDown from "@assets/icon/chevronDown.svg";
-import { DropdownNameKOR, DropdownName, DropdownItemType } from "./types";
+import {
+ DropdownNameKOR,
+ DropdownName,
+ DropdownPanelVariant,
+ DropdownItemType,
+} from "./types";
export default function DropdownIndicator({
+ dropdownPanelVariant,
dropdownName,
dropdownList,
}: {
+ dropdownPanelVariant: DropdownPanelVariant;
dropdownName: DropdownName;
dropdownList: DropdownItemType[];
}) {
@@ -20,14 +27,16 @@ export default function DropdownIndicator({
return (
{isOpen && (
`
diff --git a/fe/src/components/Dropdown/DropdownPanel.tsx b/fe/src/components/Dropdown/DropdownPanel.tsx
index 858533972..4e434806b 100644
--- a/fe/src/components/Dropdown/DropdownPanel.tsx
+++ b/fe/src/components/Dropdown/DropdownPanel.tsx
@@ -41,6 +41,19 @@ export default function DropdownPanel({
{DropdownNameKOR[dropdownName]} 설정
+
+ {dropdownList.map((item) => {
+ return ; // TODO: change the `key` value!
+ })}
+
+ >
+ );
+ case "modify":
+ return (
+ <>
+
+ {DropdownNameKOR[dropdownName]} 변경
+
{dropdownList.map((item) => {
return ;
diff --git a/fe/src/components/Dropdown/types.ts b/fe/src/components/Dropdown/types.ts
index 3424bc2ac..089e64339 100644
--- a/fe/src/components/Dropdown/types.ts
+++ b/fe/src/components/Dropdown/types.ts
@@ -3,12 +3,15 @@ export enum DropdownNameKOR {
author = "작성자",
label = "레이블",
milestone = "마일스톤",
+ issueState = "상태",
}
export type DropdownName = keyof typeof DropdownNameKOR;
+export type DropdownPanelVariant = "filter" | "select" | "modify";
+
export type DropdownPanelType = {
- variant: "filter" | "select";
+ variant: DropdownPanelVariant;
dropdownName: DropdownName;
dropdownList: DropdownItemType[];
};