表格表单
React快速验证表格
安装
npm install react-form-validates --save
用法
import React, { Component } from 'react'
import { Picker, Input } from 'zarm';
import Form from 'react-form-validates';
import './App.scss';
import 'zarm/styles/index.scss';
import '~react-form-validates/styles/index.css';
const createForm = Form.create;
const FormItem = Form.Item;
class App extends Component {
constructor(props) {
1