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

Extend grommet to allow creation of user components that can be included in other designer projects #48

Open
rodenp opened this issue Feb 16, 2020 · 0 comments

Comments

@rodenp
Copy link

rodenp commented Feb 16, 2020

I really like the grommet system that you all are creating.

I’m a big fan of drag and drop and keep it simple, so I really like the idea of using designer as much as possible, before having to turn to code.

I believe that there is one piece missing that would really elevate grommet and entice more people to use it.

That is by allowing users to Extend grommet by creating functional react components and include them as normal grommet components, as well as extending grommet base components.

I am not a very experienced web developer, so forgive me if I mix up terminology. Hopefully you get the idea of what I am proposing.

As a very simple example

{code}

So In designer there could be the option to select a functional component template from the list of components and through the properties panel define the component, it’s name, JavaScript code along with any state/properties and events.

An example would be creating a login component and on successful login navigate to another page.

It would also be good if it was possible to hook into grommet and extend existing components to allow the addition of JavaScript code to fine tune and enhance base components.

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

1 participant