import React from 'react'; function InputField( props ) { const { attr } = props; const [ inputvalue, setInputvalue ] = React.useState( props.value ); function handleChange( e ) { setInputvalue( e.target.value ); } const type = props.type ? props.type : 'text'; return ( <>
); } export default InputField;