From 6c70dc93ce80691cc63c3f3bd7c50004c98db135 Mon Sep 17 00:00:00 2001 From: ValdiANS Date: Fri, 23 Jan 2026 23:03:13 +0700 Subject: [PATCH] chore: pass the rest of the props to ConfirmationModal --- src/components/modal/ConfirmationModalWithNotes.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/modal/ConfirmationModalWithNotes.tsx b/src/components/modal/ConfirmationModalWithNotes.tsx index f3403abf..a5551571 100644 --- a/src/components/modal/ConfirmationModalWithNotes.tsx +++ b/src/components/modal/ConfirmationModalWithNotes.tsx @@ -32,6 +32,7 @@ const ConfirmationModalWithNotes: React.FC = ({ className, rows = 3, placeholder = 'Catatan...', + ...props }) => { const randomId = useId(); const [notes, setNotes] = useState(''); @@ -55,6 +56,7 @@ const ConfirmationModalWithNotes: React.FC = ({ }} secondaryButton={secondaryButton} className={className} + {...props} >