- Form(legacy)
yarn add @zent/compat
/*
You have to require styles by yourself or use babel-plugin-zent
{
"plugins": [
["babel-plugin-zent", { "automaticStyleImport": true, "noModuleRewrite": true }, "zent"],
[
"babel-plugin-zent",
{ "libraryName": "@zent/compat", "automaticStyleImport": true, "noModuleRewrite": true },
"@zent/compat"
]
]
}
*/
import { Form } from '@zent/compat';