'use strict';
'use client';
import { jsx } from 'react/jsx-runtime';
import { cva } from 'class-variance-authority';
import { cn } from '../../../fd-toolbox/lib/utils.js';
import { labelClassNames, labelDisplayNames } from './label-constants.js';

var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", {
  value,
  configurable: true
});
const labelVariants = cva(labelClassNames.text);
function Label({
  className,
  ref,
  ...props
}) {
  return /* @__PURE__ */jsx("label", {
    ref,
    className: cn(labelVariants(), className),
    ...props
  });
}
__name(Label, "Label");
Label.displayName = labelDisplayNames.label;

export { Label };
