You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import React from 'react';
|
|
|
|
import warning from 'warning';
|
|
|
|
|
|
|
|
export default class Validation extends React.Component {
|
|
|
|
render() {
|
|
|
|
warning(false, '`Validation` is removed, please use `Form` which has supported validation after antd@0.12.0,' +
|
|
|
|
' or you can just import Validation from \'rc-form-validation\' for compatibility');
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Validation.Validator = () => {};
|
|
|
|
Validation.FieldMixin = {
|
|
|
|
setField() {},
|
|
|
|
};
|