@vgmr/config-editor-antd4lib
v2.0.21
Published
vgmr config editor antd4 components
Downloads
2
Readme
vgmr config-editor antd4lib
antd (v4) library for @vgmr/config-editor
Usage
# install
npm i @vgmr/config-editor
npm i @vgmr/config-editor/andt4lib
# index.ts
import {Vce, vceConfiguration} from '@vgmr/config-editor'
import {Antd4Lib} from '@vgmr/config-editor-antd4lib'
import "antd/dist/antd.css";
let data= {}
let config = vceConfiguration(b=>[
b.text('name')
])
const App = () =>{
return <Vce
data={data}
configuration = {config}
lib={Antd4Lib}
/>
}