isVisible
isVisible: boolean
onClose
onClose: (() => void)
Optionalposition
position?: string
OptionalbackgroundColor
backgroundColor?: string
Optionaltitle
title?: ReactNode
OptionaloverlayProps
overlayProps?: HTMLAttributes<HTMLDivElement>
OptionalcontentProps
contentProps?: HTMLAttributes<HTMLDivElement>
OptionalheaderProps
headerProps?: HTMLAttributes<HTMLDivElement>
OptionaltitleProps
titleProps?: HTMLAttributes<HTMLHeadingElement>
OptionalcloseButtonProps
closeButtonProps?: ButtonHTMLAttributes<HTMLButtonElement>
OptionalcloseIconComponent
closeIconComponent?: ReactNode
OptionalheaderDividerProps
headerDividerProps?: HTMLAttributes<HTMLHRElement>
OptionalbodyProps
bodyProps?: HTMLAttributes<HTMLDivElement>
OptionaldefaultImagesContainerProps
defaultImagesContainerProps?: HTMLAttributes<HTMLDivElement>
OptionaluploadWrapperProps
uploadWrapperProps?: HTMLAttributes<HTMLDivElement>
OptionaluploadLabelProps
uploadLabelProps?: LabelHTMLAttributes<HTMLLabelElement>
OptionaluploadLabel
uploadLabel?: ReactNode
OptionaluploadInputProps
uploadInputProps?: InputHTMLAttributes<HTMLInputElement>
OptionalmainCanvasProps
mainCanvasProps?: CanvasHTMLAttributes<HTMLCanvasElement>
OptionalbackgroundCanvasProps
backgroundCanvasProps?: CanvasHTMLAttributes<HTMLCanvasElement>
OptionalcaptureVideoProps
captureVideoProps?: VideoHTMLAttributes<HTMLVideoElement>
OptionalpreviewVideoProps
previewVideoProps?: VideoHTMLAttributes<HTMLVideoElement>
OptionalloadingOverlayProps
loadingOverlayProps?: HTMLAttributes<HTMLDivElement>
OptionalloadingSpinner
loadingSpinner?: ReactNode
OptionalbuttonsWrapperProps
buttonsWrapperProps?: HTMLAttributes<HTMLDivElement>
OptionalapplyButtonProps
applyButtonProps?: ButtonHTMLAttributes<HTMLButtonElement>
OptionalsaveButtonProps
saveButtonProps?: ButtonHTMLAttributes<HTMLButtonElement>
OptionalapplyButtonLabel
applyButtonLabel?: string
OptionalapplyButtonAppliedLabel
applyButtonAppliedLabel?: string
OptionalsaveButtonLabel
saveButtonLabel?: string
OptionalrenderHeader
renderHeader?: ((options: {
defaultHeader: ReactNode;
onClose: (() => void);
}) => ReactNode)
OptionalrenderButtons
renderButtons?: ((options: {
defaultButtons: ReactNode;
applyButtonRef: RefObject<null | HTMLButtonElement>;
saveButtonRef: RefObject<null | HTMLButtonElement>;
}) => ReactNode)
OptionalrenderBody
renderBody?: ((options: {
defaultBody: ReactNode;
}) => ReactNode)
OptionalrenderContent
renderContent?: ((options: {
defaultContent: ReactNode;
}) => ReactNode)