import React from "react";
import { Widget } from "./BaseWidget";
import type { LocationInputProps as CoreLocationInputProps } from "../widgets/location-input";

export interface LocationInputProps extends CoreLocationInputProps {
  className?: string;
}

export function LocationInput({ className, ...props }: LocationInputProps) {
  return <Widget widgetId="location-input" config={props} className={className} />;
}
