Skip to content

Commit

Permalink
fix(flow): use Node and add CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jgcmarins committed Jul 25, 2018
1 parent 9539848 commit ed6fcd3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Empty file added CHANGELOG.md
Empty file.
2 changes: 1 addition & 1 deletion components/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type Props = {
onPress: () => void,
iconSrc: string,
textStyle: Object,
children: typeof React.Children,
children: React.Node,
};

export default ({ buttonStyle, onPress, iconSrc, textStyle, children }: Props) => (
Expand Down
2 changes: 1 addition & 1 deletion components/Overlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const styles = StyleSheet.create({
type Props = {
visible: boolean,
onCancel: () => void,
children: typeof React.Children,
children: React.Node,
};

type State = {
Expand Down
2 changes: 1 addition & 1 deletion components/Sheet.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const DEFAULT_BOTTOM = -300;
const DEFAULT_ANIMATE_TIME = 300;

type Props = {
children: typeof React.Children,
children: React.Node,
visible: boolean,
};

Expand Down

0 comments on commit ed6fcd3

Please sign in to comment.