Slide 32
Slide 32 text
// MyContainer.js
import t from 'tcomb';
import container from 'buildo-react-container';
import MyComponent from './MyComponent';
export default container(MyComponent, {
connect: {
isFlag: t.Boolean,
name: t.String,
label: t.maybe(t.String)
}
});
@gabro27 - MilanoJS 14/06/2017