Last updated 8 months ago
Was this helpful?
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 directly as it's the interface used under the hood by ModalProps.
ModalProps
ModalComponentProp