rekit / antd-form-builder

Dynamic meta driven React forms based on antd.

Home Page:https://rekit.github.io/antd-form-builder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding new components like antd 4 Upload

yagiz-aydin opened this issue · comments

Antd version 4 components are basically added on Antd-Form-Builder Rekit. But, other components like photo upload added as a custom component. Form Builder deletes all duplicated codes on so many forms. For the eliminating custom components, this issue opened for adding antd 4 Upload component like as select, input ext..
https://ant.design/components/upload/

You can just use the component reference rather than a string for upload component. Like:

import { Upload } from 'antd';
//...
const meta = { widget: Upload, ..};
//...