@theme-ui/components
Version:
Primitive layout, typographic, and other components for use with Theme UI.
12 lines (11 loc) • 464 B
TypeScript
import React from 'react';
import { BoxOwnProps } from "./Box.js";
import type { Assign, ForwardRef } from "./types.js";
export interface LabelProps extends Assign<React.ComponentPropsWithRef<'label'>, BoxOwnProps> {
}
/**
* Label variants can be defined in `theme.forms`
* and the component uses the `theme.forms.label` variant by default.
* @see https://theme-ui.com/components/label/
*/
export declare const Label: ForwardRef<HTMLLabelElement, LabelProps>;