Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding new components like antd 4 Upload #71

Open
yagiz-aydin opened this issue Jan 20, 2021 · 1 comment
Open

Adding new components like antd 4 Upload #71

yagiz-aydin opened this issue Jan 20, 2021 · 1 comment

Comments

@yagiz-aydin
Copy link

yagiz-aydin commented Jan 20, 2021

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/

@supnate
Copy link
Contributor

supnate commented Feb 2, 2021

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants