Type checking with TypeScript/Flow
Type checking ModalProvider / createModalStack
ModalProvider / createModalStack Type checking the modal prop
modal propFrom a modal component
import React from 'react'
import { ModalStackItemProp } from 'react-native-modalfy'
interface Props {
modal: ModalStackItemProp
}
class MyModal extends React.Component<Props> {
// ...
}From anywhere else in the code
Type checking static modalOptions
static modalOptionsLast updated