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

possible change to formsy Decorator #448

Open
Jareechang opened this issue May 21, 2017 · 1 comment
Open

possible change to formsy Decorator #448

Jareechang opened this issue May 21, 2017 · 1 comment

Comments

@Jareechang
Copy link

Would it be possible to use just @Decorator rather than @Decorator(MyInput) ?

The reference to the Component is already passed in if you are using the ES6/ES7decorator plugin.

@Decorator(MyInput)
class MyInput extends React.Component {
    ...
}

VS 

@Decorator
class MyInput extends React.Component {
    ...
}
@Jareechang Jareechang changed the title formsy Decorator possible change to formsy Decorator May 21, 2017
@rkuykendall
Copy link

I believe this has been solved? Check out the new formsy organization with Formsy 1.0.1: https://github.com/formsy/formsy-react

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