import React from "react" import FormInline from "../base/FormInline" import InputWithIcon from "../base/InputWithIcon" import { faCircle, faPlus, faRulerHorizontal, faRulerVertical } from "@fortawesome/free-solid-svg-icons" import ButtonIconOnly from "../base/ButtonIconOnly" import Style from "./FormInlineLocation.module.css" /** * @deprecated to be refactored * @param mapViewHook * @param radIcon * @param latIcon * @param lngIcon * @param buttonIcon * @param buttonColor * @param placeholder * @param validate * @param submit * @param props * @returns {JSX.Element} * @constructor */ export default function FormInlineLocation( { mapViewHook, radIcon = faCircle, latIcon = faRulerHorizontal, lngIcon = faRulerVertical, buttonIcon = faPlus, buttonColor = "Green", placeholder = new Date().toISOString(), validate = value => value, submit, ...props }, ) { const _onSubmit = event => { event.preventDefault() submit() } return ( ) }