+ disabled: boolean
+ size?: SizeType
}) {
const {
openModalBtn,
@@ -31,6 +34,8 @@ export function ConfirmationButton(props: {
children,
onOpenChanged,
onSubmitWithSuccess,
+ disabled,
+ size,
} = props
const [open, setOpen] = useState(false)
@@ -68,13 +73,16 @@ export function ConfirmationButton(props: {
- updateOpen(true)}
+ disabled={disabled}
+ color="yellow"
+ size={size}
>
{openModalBtn.icon}
{openModalBtn.label}
-
+