import type React from "react"; import { Button, majorScale, Pane, SelectField, TextInputField, } from "evergreen-ui"; import { useDevice } from "@core/providers/useDevice.js"; import { renderOptions } from "@core/utils/selectEnumOptions.js"; import { Protobuf } from "@meshtastic/meshtasticjs"; enum LocationType { MGRS, LatLng, DecimalDegrees, } export const NewLocationMessage = (): JSX.Element => { const { connection } = useDevice(); return (
{ e.preventDefault(); }} > {renderOptions(LocationType)}
); };