import classNames from 'classnames'; import type { HTMLAttributes } from 'react'; export function Label({ htmlFor, className, optional, children, visuallyHidden, otherTags = [], ...props }: HTMLAttributes & { htmlFor: string; optional?: boolean; otherTags?: string[]; visuallyHidden?: boolean; }) { const tags = optional ? ['optional', ...otherTags] : otherTags; return ( ); }