@visa/nova-react
Version:
Visa Product Design System Nova React library. Compatible with React ^19.
13 lines (12 loc) • 518 B
TypeScript
import type { ElementType } from 'react';
import { type TypographyProperties } from '../typography';
export type LabelProperties<ET extends ElementType = 'label'> = TypographyProperties<ET>;
/**
* Component used to label form elements.
* @docs {@link https://design.visa.com/components | See Docs}
*/
declare const Label: {
<ET extends ElementType = "label">({ className, tag, ...remainingProps }: LabelProperties<ET>): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
export default Label;