import { inputLabelVariants } from './variants'

import type { InputLabelProps } from './types'

export function InputLabel({
  children,
  className,
  selected,
  required,
  disabled,
  size,
}: InputLabelProps) {
  const classNames = inputLabelVariants({
    size,
    required,
    selected,
    disabled,
    className,
  })

  return <span className={classNames}>{children}</span>
}
