1.2.1 • Published 3 years ago

@tdcerhverv/label v1.2.1

Weekly downloads
38
License
MIT
Repository
github
Last release
3 years ago

Label component

Label for form element with support for popover / tooltip.

Usage

Import like this:

import { Label } from '@tdcerhverv/label';

Use like this:

<Label>{children}</Label>

Props

The components supports all props for standard <label> element.

export interface ILabel extends LabelHTMLAttributes<HTMLLabelElement> {
  children?: ReactNode;
}