/* eslint-disable eslint-comments/disable-enable-pair */ /* eslint-disable import/no-default-export */ import type { ChangeEvent } from 'react' import { classNames } from 'utils/css' export interface TrailingSelectProps { id: string label: string options: string[] value: string onChange: (event: ChangeEvent) => void } export default function TrailingSelect({ id, label, value, onChange, options }: TrailingSelectProps) { const cachedClassNames = classNames( 'h-full rounded-md border-transparent bg-transparent py-0 pl-2 pr-7 text-zinc-500 dark:text-zinc-400 sm:text-sm', 'focus:border-transparent focus:outline focus:outline-2 focus:outline-offset-2 focus:outline-primary-500 focus:ring-0 focus:ring-offset-0', ) return (
) }