Skip to content

Commit

Permalink
refactor #70 : props명 컨벤션에 맞게 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
minh0518 committed Mar 1, 2025
1 parent ca033f6 commit 5502d2a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { VisuallyHidden } from '@radix-ui/react-visually-hidden';

import * as styles from './left-slide-panel-toggle.styles';

interface SidebarProps {
export interface LeftSlidePanelToggleProps {
children: ReactNode;
isSidebarOpen: boolean;
setIsSidebarOpen: Dispatch<React.SetStateAction<boolean>>;
Expand All @@ -23,7 +23,7 @@ function LeftSlidePanelToggle({
closeButton,
additionalButton,
icon,
}: SidebarProps) {
}: LeftSlidePanelToggleProps) {
return (
<Dialog.Root modal={false} open={isSidebarOpen} onOpenChange={setIsSidebarOpen}>
<div css={styles.container(isSidebarOpen)}>
Expand Down

0 comments on commit 5502d2a

Please sign in to comment.