Open pbrink231 opened 1 year ago
Current index.d.ts:
export interface ReactConfirmAlertProps { targetId?: string title?: string message?: string buttons?: Array<{ label: string className?: string } & ButtonHTMLAttributes> childrenElement?: () => React.ReactNode customUI?: (customUiOptions: { title: string message: string onClose: () => void }) => React.ReactNode closeOnClickOutside?: boolean closeOnEscape?: boolean keyCodeForClose?: Array willUnmount?: () => void onClickOutside?: () => void onKeypressEscape?: () => void onkeyPress?: () => void overlayClassName?: string }
Is missing afterClose type declaration.
Current index.d.ts:
export interface ReactConfirmAlertProps { targetId?: string title?: string message?: string buttons?: Array<{ label: string className?: string } & ButtonHTMLAttributes>
childrenElement?: () => React.ReactNode
customUI?: (customUiOptions: {
title: string
message: string
onClose: () => void
}) => React.ReactNode
closeOnClickOutside?: boolean
closeOnEscape?: boolean
keyCodeForClose?: Array
willUnmount?: () => void
onClickOutside?: () => void
onKeypressEscape?: () => void
onkeyPress?: () => void
overlayClassName?: string
}
Is missing afterClose type declaration.