Skip to content

Commit

Permalink
allow multi element in children (#1442)
Browse files Browse the repository at this point in the history
  • Loading branch information
cncolder authored and paranoidjk committed Jun 14, 2017
1 parent 3f5c961 commit 21e306b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/flex/PropsType.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export interface FlexProps {
wrap?: 'nowrap'|'wrap'|'wrap-reverse';
justify?: 'start'|'end'|'center'|'between'|'around';
align?: 'top'|'start'|'middle'|'center'|'bottom'|'end'|'baseline'|'stretch';
children?: JSX.Element;
children?: JSX.Element | JSX.Element[];
disabled?: boolean;
}

Expand Down
2 changes: 1 addition & 1 deletion components/list/PropsType.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { NativeProps, WebProps } from '../baseType';
export interface ListProps {
renderHeader?: Function | JSX.Element;
renderFooter?: Function | JSX.Element;
children?: JSX.Element;
children?: JSX.Element | JSX.Element[];
}

export interface ListWebProps extends WebProps, ListProps {
Expand Down

0 comments on commit 21e306b

Please sign in to comment.