Last updated 3 months ago
Interface of the modal prop exposed by the library specifically to modal components.
modal
export type ModalComponentProp< P extends ModalfyParams, Props = unknown, M = keyof P > = Props & { modal: UsableModalComponentProp<P, M> } export type ModalProps< N extends keyof ModalfyParams = keyof ModalfyParams, P = void > = ModalComponentProp< ModalfyParams, P, N >
Please refer to ModalComponentProp directly as it's the interface used under the hood by ModalProps.
ModalComponentProp
ModalProps