scup / atellier

The smartest way to share interactive components with your team.
http://scup.github.io/atellier/
MIT License
995 stars 33 forks source link

Can't set props that aren't strings #22

Closed ggarnier closed 8 years ago

ggarnier commented 8 years ago

When I try to live edit a prop that isn't a string (like a function or an object), I get this warning:

Warning: Failed propType: Invalid prop `something` of type `string` supplied to `MyComponent`, expected `object`.

Seems like prop values are being automatically converted to strings.

agutoli commented 8 years ago

@ggarnier, we just released a version v0.1.9, can you try now? Now you do not need to pass React to Atellier, ex.

import Atellier from 'react-atellier';

and <Atellier components={[]} />

tks!

ggarnier commented 8 years ago

@agutoli now it's working. Thanks!