const [valueState,setValueState] = useState("")
// create a function that handle the React-select event and
// save the value of that event on an state every time the component change
const handler = (event) => {
const value = event.value
setValueState(value)
}
<Select options={"your options"} onChange={handler}/>