UNPKG

@helpwave/hightide

Version:

helpwave's component and theming library

17 lines (14 loc) 543 B
import * as react_jsx_runtime from 'react/jsx-runtime'; import { LabelHTMLAttributes } from 'react'; type LabelType = 'labelSmall' | 'labelMedium' | 'labelBig'; type LabelProps = { /** The text for the label */ name?: string; /** The styling for the label */ labelType?: LabelType; } & LabelHTMLAttributes<HTMLLabelElement>; /** * A Label component */ declare const Label: ({ children, name, labelType, className, ...props }: LabelProps) => react_jsx_runtime.JSX.Element; export { Label, type LabelProps, type LabelType };