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