@atlaskit/form
Version:
A form allows people to input information.
21 lines (20 loc) • 483 B
TypeScript
/**
* @jsxRuntime classic
* @jsx jsx
*/
import { type ReactNode } from 'react';
export interface LabelProps {
id?: string;
htmlFor: string;
children: ReactNode;
testId?: string;
}
/**
* __Label__
*
* A label represents a caption for an item in a user interface.
*
* It's recommended that a label has a `space.050` spacing above its associated
* control element.
*/
export declare const Label: ({ children, htmlFor, id, testId }: LabelProps) => JSX.Element;