Skip to content

Commit

Permalink
fixup! Feat(web-react): Introduce Drawer component #DS-1580
Browse files Browse the repository at this point in the history
  • Loading branch information
curdaj committed Dec 30, 2024
1 parent 5e54e4a commit 01a936e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Icon } from '../Icon';
import { VisuallyHidden } from '../VisuallyHidden';
import { useDrawerContext } from './DrawerContext';

const DrawerCloseButton = ({ label = 'Close', ...restProps }) => {
const DrawerCloseButton = ({ label = 'Close', ...restProps }: DrawerCloseButtonProps) => {
const { id, isOpen, onClose } = useDrawerContext();

return (
Expand Down

0 comments on commit 01a936e

Please sign in to comment.