+
+
{title}
+ setCurrentValue(e.target.value)}
+ disabled={!isEditing}
+ />
+
+
+
+ {isEditing ? (
+ <>
+
+
+ >
+ ) : (
+
+ )}
+
+
+ );
+}
+
+MyInfoCard.Field = MyInfoField;
+MyInfoCard.EditableField = MyInfoEditableField;
+
+export { MyInfoCard };
diff --git a/apps/community/src/components/my/my-info-editable-profile-card.tsx b/apps/community/src/components/my/my-info-editable-profile-card.tsx
new file mode 100644
index 0000000..f32c051
--- /dev/null
+++ b/apps/community/src/components/my/my-info-editable-profile-card.tsx
@@ -0,0 +1,32 @@
+'use client';
+
+import { MyInfoCard } from '~/components/my/my-info-card';
+
+interface Props {
+ data: {
+ title: string;
+ value: string;
+ }[];
+}
+
+function MyInfoEditableProfileCard({ data }: Props) {
+ const handleSave = (field: string, value: string) => {
+ // TODO: 필요한 서버 API 호출 로직 추가
+ console.log(`${field} 저장: ${value}`);
+ };
+
+ return (
+