diff --git a/components/modal/Modal.tsx b/components/modal/Modal.tsx index 6f2059c5..e6359cea 100644 --- a/components/modal/Modal.tsx +++ b/components/modal/Modal.tsx @@ -27,7 +27,7 @@ export interface ModalProps style?: StyleProp bodyStyle?: StyleProp onRequestClose?: CallbackOnBackHandler - children: React.ReactNode + children?: React.ReactNode } class AntmModal extends React.Component { diff --git a/components/wing-blank/index.tsx b/components/wing-blank/index.tsx index 8098ca44..df86952f 100644 --- a/components/wing-blank/index.tsx +++ b/components/wing-blank/index.tsx @@ -5,7 +5,7 @@ import { WithTheme } from '../style' export interface WingBlankProps { style?: StyleProp size?: 'sm' | 'md' | 'lg' - children: React.ReactNode + children?: React.ReactNode } class WingBlank extends React.Component { static defaultProps = {