import React, { useState } from 'react' import TextInput from '../_text_input' const TextInputAddOn = (props) => { const [defaultInput, setDefaultInput] = useState('') const [firstInput, setFirstInput] = useState('') const [secondInput, setSecondInput] = useState('') const [thirdInput, setThirdInput] = useState('') const [fourthInput, setFourthInput] = useState('') const handleUpdateDefaultInput = ({ target }) => { setDefaultInput(target.value) } const handleUpdateFirstInput = ({ target }) => { setFirstInput(target.value) } const handleUpdateSecondInput = ({ target }) => { setSecondInput(target.value) } const handleUpdateThirdInput = ({ target }) => { setThirdInput(target.value) } const handleUpdateFourthInput = ({ target }) => { setFourthInput(target.value) } return ( <>