import type React from "react"; import { Input } from "@app/components/form/Input.js"; import { Select } from "@app/components/form/Select.js"; import { Button } from "@components/Button.js"; 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 (