import { ReactNode } from "react"; import clsx from "../../../utils/shared/ClassesUtils"; import HintTooltip from "../tooltips/HintTooltip"; interface Props { name?: string; title?: string; withLabel?: boolean; options: { name: string; value: string | number | undefined; disabled?: boolean }[]; value?: string | number | undefined; setValue?: React.Dispatch>; className?: string; required?: boolean; disabled?: boolean; help?: string; hint?: ReactNode; borderless?: boolean; autoFocus?: boolean; } export default function InputSelect({ name, title, withLabel = true, value, options, setValue, className, required, disabled, help, hint, borderless, autoFocus, }: Props) { return (
{withLabel && title && ( )}
); }