phpsmarter
3/25/2018 - 10:22 AM

withProps.diff

const Input = rc.compose( 
- rc.withProps({component: "input", type: "text"}), 
- rc.componentFromProp,
+ rc.componentFromProp,
+ rc.withProps({component: "input", type: "text"}), 

)("component")