ModalComponentWithOptions
Note: Only use with Hooks modal components (present in your createModalStack()
's config). If you're working with a Class modal component, you can directly use static modalOptions: ModalOptions.
export type ModalComponentWithOptions<
Props = unknown
> = React.ComponentType<Props> & {
modalOptions?: ModalOptions
}
https://github.com/colorfy-software/react-native-modalfy/blob/master/types.ts#L360
Last updated
Was this helpful?