scup / atellier

The smartest way to share interactive components with your team.

Home Page:http://scup.github.io/atellier/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't set props that aren't strings

ggarnier opened this issue · comments

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.

@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!

@agutoli now it's working. Thanks!