import { GridItem, NumberInput } from "@strapi/design-system"; import React from "react"; const LocationInputForm = ({ lat, lng, handleSetLocation, }: { lat: number | null; lng: number | null; handleSetLocation: (newValue: [number | null, number | null]) => void; }) => { return ( <> handleSetLocation([newValue, lng]) } /> handleSetLocation([lat, newValue]) } /> ); }; export default LocationInputForm;