text: import { useState } from "react";
  
  export function useEscolha(defaultChoice) {
    const [value, setValue] = useState(defaultChoice);
  
    function onChange(e) {
      setValue(e.target.value);
    }
  
    return {
      value,
      onChange
    };
  }
  