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

ES7 decorator example request #31

Open
serle opened this issue Nov 23, 2016 · 3 comments
Open

ES7 decorator example request #31

serle opened this issue Nov 23, 2016 · 3 comments

Comments

@serle
Copy link

serle commented Nov 23, 2016

Can I use the createSelectable(cmp) as an ES7 decorator? I need to chain the decorators as I want to use this library in combination with the react-dnd higher order component.

@unclecheese
Copy link
Owner

It should work. Can you test it and find out?

@prescottprue
Copy link
Contributor

I am currently using this as a decorator and I can it does work.

prescottprue pushed a commit to prescottprue/react-selectable that referenced this issue Sep 7, 2017
@prescottprue
Copy link
Contributor

Opened #44 with an example in the README. Hopefully it is helpful.

prescottprue added a commit to prescottprue/react-selectable that referenced this issue Sep 7, 2017
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

3 participants