Skip to content

Commit

Permalink
add style prop for popupcontainer, close #1234
Browse files Browse the repository at this point in the history
  • Loading branch information
silentcloud committed May 2, 2017
1 parent 7e9dfd7 commit 9215d23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/popup/PopupContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export default class PopupContainer extends React.Component<PopupProps, any> {
return (
<View style={styles.container}>
<Modal
style={this.props.style}
animateAppear
onAnimationEnd={this.props.onAnimationEnd}
animationType={this.props.animationType as animationType}
Expand Down
1 change: 1 addition & 0 deletions components/popup/PropsType.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export interface PopupProps {
style?: any;
animationType?: string;
maskClosable?: boolean;
onMaskClose?: () => any;
Expand Down

0 comments on commit 9215d23

Please sign in to comment.