vue-ant-patterns
Version:
vue-ant-patterns
13 lines • 447 B
JavaScript
// import PropType from './propTypes';
import PropTypes from 'ant-design-vue/es/_util/vue-types';
function noop() {}
export default {
onSubmit: PropTypes.func.def(noop),
success: PropTypes.func.def(noop),
error: PropTypes.func.def(noop),
prefixCls: PropTypes.string.def('depot-login'),
nameRule: PropTypes.object.def({}),
passRule: PropTypes.object.def({}),
locale: PropTypes.object.def({}),
isLoading: PropTypes.bool.def(false)
};