mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 21:41:57 +00:00
chore: pass the rest of the props to ConfirmationModal
This commit is contained in:
@@ -32,6 +32,7 @@ const ConfirmationModalWithNotes: React.FC<ConfirmationModalWithNotesProps> = ({
|
||||
className,
|
||||
rows = 3,
|
||||
placeholder = 'Catatan...',
|
||||
...props
|
||||
}) => {
|
||||
const randomId = useId();
|
||||
const [notes, setNotes] = useState('');
|
||||
@@ -55,6 +56,7 @@ const ConfirmationModalWithNotes: React.FC<ConfirmationModalWithNotesProps> = ({
|
||||
}}
|
||||
secondaryButton={secondaryButton}
|
||||
className={className}
|
||||
{...props}
|
||||
>
|
||||
<TextArea
|
||||
name={randomId}
|
||||
|
||||
Reference in New Issue
Block a user