@visa/nova-react
Version:
Visa Product Design System Nova React library
17 lines (16 loc) • 675 B
TypeScript
import { ForwardedRef, ElementType } from 'react';
export type LabelProperties = {
/** @ignore */
className?: string;
/** Tag of Component */
tag?: ElementType;
};
/**
* Component used to label form elements.
* @docs {@link https://design.visa.com/react/components | See Docs}
*/
declare const _default: <HTMLElementType = HTMLLabelElement>(props: {
children?: import("react").ReactNode | import("react").ReactNode[];
ref?: ForwardedRef<HTMLElementType> | undefined;
} & import("react").AllHTMLAttributes<HTMLElementType> & import("react").SVGAttributes<HTMLElementType> & LabelProperties) => import("react").ReactElement;
export default _default;