export default ({type, name, placeholder, value = '', error, onInput, required, className, children, icon}) => (