diff --git a/components/grid/row.tsx b/components/grid/row.tsx index 38ff9bbe55..c5d547340f 100644 --- a/components/grid/row.tsx +++ b/components/grid/row.tsx @@ -17,7 +17,6 @@ export default class Row extends React.Component { static defaultProps = { gutter: 0, }; - static propTypes = { type: PropTypes.string, align: PropTypes.string, @@ -28,8 +27,10 @@ export default class Row extends React.Component { prefixCls: PropTypes.string, }; render() { - const { type, justify, align, className, gutter, style, children, - prefixCls = 'ant-row', ...others } = this.props; + const { + type, justify, align, className, gutter, style, children, + prefixCls = 'ant-row', ...others, + } = this.props; const classes = classNames({ [prefixCls]: !type, [`${prefixCls}-${type}`]: type,