Revert "remove labelAlign: PropTypes.string"

This reverts commit 764960875d.
This commit is contained in:
yoyo837 2019-11-04 13:05:02 +08:00
parent 764960875d
commit c1d55addf1

View File

@ -48,6 +48,7 @@ export default class FormItem extends React.Component<FormItemProps, any> {
static propTypes = { static propTypes = {
prefixCls: PropTypes.string, prefixCls: PropTypes.string,
label: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), label: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
labelAlign: PropTypes.string,
labelCol: PropTypes.object, labelCol: PropTypes.object,
help: PropTypes.oneOfType([PropTypes.node, PropTypes.bool]), help: PropTypes.oneOfType([PropTypes.node, PropTypes.bool]),
validateStatus: PropTypes.oneOf(ValidateStatuses), validateStatus: PropTypes.oneOf(ValidateStatuses),