ModalComponentWithOptions

Interface for a React component containing its props and the modalOption static property.

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?