Skip to content

Commit

Permalink
fix: type error
Browse files Browse the repository at this point in the history
  • Loading branch information
BANG88 committed Oct 13, 2022
1 parent ddfeba4 commit 083aae5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export interface ModalProps
style?: StyleProp<ViewStyle>
bodyStyle?: StyleProp<ViewStyle>
onRequestClose?: CallbackOnBackHandler
children: React.ReactNode
children?: React.ReactNode
}

class AntmModal extends React.Component<ModalProps, any> {
Expand Down
2 changes: 1 addition & 1 deletion components/wing-blank/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { WithTheme } from '../style'
export interface WingBlankProps {
style?: StyleProp<ViewStyle>
size?: 'sm' | 'md' | 'lg'
children: React.ReactNode
children?: React.ReactNode
}
class WingBlank extends React.Component<WingBlankProps, any> {
static defaultProps = {
Expand Down

0 comments on commit 083aae5

Please sign in to comment.