diff --git a/components/flex/PropsType.tsx b/components/flex/PropsType.tsx index 486fea349e..88e4d6009a 100644 --- a/components/flex/PropsType.tsx +++ b/components/flex/PropsType.tsx @@ -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; } diff --git a/components/list/PropsType.tsx b/components/list/PropsType.tsx index 50561b2611..03807a375d 100644 --- a/components/list/PropsType.tsx +++ b/components/list/PropsType.tsx @@ -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 {