isVisible
isVisible: boolean
onClose
onClose: (() => void)
Optional
position
position?: string
Optional
backgroundColor
backgroundColor?: string
Optional
title
title?: ReactNode
Optional
overlayProps
overlayProps?: HTMLAttributes<HTMLDivElement>
Optional
contentProps
contentProps?: HTMLAttributes<HTMLDivElement>
Optional
headerProps
headerProps?: HTMLAttributes<HTMLDivElement>
Optional
titleProps
titleProps?: HTMLAttributes<HTMLHeadingElement>
Optional
closeButtonProps
closeButtonProps?: ButtonHTMLAttributes<HTMLButtonElement>
Optional
closeIconComponent
closeIconComponent?: ReactNode
Optional
headerDividerProps
headerDividerProps?: HTMLAttributes<HTMLHRElement>
Optional
bodyProps
bodyProps?: HTMLAttributes<HTMLDivElement>
Optional
defaultImagesContainerProps
defaultImagesContainerProps?: HTMLAttributes<HTMLDivElement>
Optional
uploadWrapperProps
uploadWrapperProps?: HTMLAttributes<HTMLDivElement>
Optional
uploadLabelProps
uploadLabelProps?: LabelHTMLAttributes<HTMLLabelElement>
Optional
uploadLabel
uploadLabel?: ReactNode
Optional
uploadInputProps
uploadInputProps?: InputHTMLAttributes<HTMLInputElement>
Optional
mainCanvasProps
mainCanvasProps?: CanvasHTMLAttributes<HTMLCanvasElement>
Optional
backgroundCanvasProps
backgroundCanvasProps?: CanvasHTMLAttributes<HTMLCanvasElement>
Optional
captureVideoProps
captureVideoProps?: VideoHTMLAttributes<HTMLVideoElement>
Optional
previewVideoProps
previewVideoProps?: VideoHTMLAttributes<HTMLVideoElement>
Optional
loadingOverlayProps
loadingOverlayProps?: HTMLAttributes<HTMLDivElement>
Optional
loadingSpinner
loadingSpinner?: ReactNode
Optional
buttonsWrapperProps
buttonsWrapperProps?: HTMLAttributes<HTMLDivElement>
Optional
applyButtonProps
applyButtonProps?: ButtonHTMLAttributes<HTMLButtonElement>
Optional
saveButtonProps
saveButtonProps?: ButtonHTMLAttributes<HTMLButtonElement>
Optional
applyButtonLabel
applyButtonLabel?: string
Optional
applyButtonAppliedLabel
applyButtonAppliedLabel?: string
Optional
saveButtonLabel
saveButtonLabel?: string
Optional
renderHeader
renderHeader?: ((options: {
defaultHeader: ReactNode;
onClose: (() => void);
}) => ReactNode)
Optional
renderButtons
renderButtons?: ((options: {
defaultButtons: ReactNode;
applyButtonRef: RefObject<null | HTMLButtonElement>;
saveButtonRef: RefObject<null | HTMLButtonElement>;
}) => ReactNode)
Optional
renderBody
renderBody?: ((options: {
defaultBody: ReactNode;
}) => ReactNode)
Optional
renderContent
renderContent?: ((options: {
defaultContent: ReactNode;
}) => ReactNode)