feat: 기능 추가 과정중

This commit is contained in:
donghyeon-ka
2026-07-30 15:58:20 +09:00
parent d3ef801fe6
commit 6c52cdb916
648 changed files with 126325 additions and 6680 deletions
@@ -9,9 +9,9 @@ import {
useState,
} from "react";
import { CloseIcon } from "../icons/semantic-icons.js";
import { Button, Dialog, IconButton } from "./core.js";
import { useLocale } from "../../i18n/index.js";
import { CloseIcon } from "../icons/semantic-icons.tsx";
import { Button, Dialog, IconButton } from "./core.tsx";
import { useLocale } from "../../i18n/index.ts";
export type DrawerProps = Readonly<{
open: boolean;
@@ -19,6 +19,7 @@ export type DrawerProps = Readonly<{
title: string;
closeLabel?: string;
placement?: "start" | "end";
returnFocusRef?: React.RefObject<HTMLElement | null>;
children: React.ReactNode;
}>;
@@ -28,6 +29,7 @@ export function Drawer({
title,
closeLabel,
placement = "start",
returnFocusRef,
children,
}: DrawerProps) {
return (
@@ -36,6 +38,7 @@ export function Drawer({
closeLabel={closeLabel}
onClose={onClose}
open={open}
returnFocusRef={returnFocusRef}
title={title}
>
{children}