@jswork/antd-form-builder
v1.1.27
Published
A wrapper for antd-form-builder.
Downloads
61
Readme
antd-form-builder
A wrapper for antd-form-builder.
installation
npm install -S @jswork/antd-form-builder
usage
- import css
@import "~@jswork/antd-form-builder/dist/style.css";
// or use sass
@import "~@jswork/antd-form-builder/dist/style.scss";
// customize your styles:
$antd-form-builder-options: ()
- import js
import React from 'react';
import AntdFormBuilder from '@jswork/antd-form-builder';
import styled from 'styled-components';
const Container = styled.div`
width: 80%;
margin: 30px auto 0;
`;
export default (props: any) => {
return (
<Container>
<AntdFormBuilder />
</Container>
);
};
preview
- https://afeiship.github.io/antd-form-builder/
license
Code released under the MIT license.