UNPKG

@theme-ui/components

Version:

Primitive layout, typographic, and other components for use with Theme UI.

12 lines (11 loc) 458 B
import React from 'react'; import { BoxOwnProps } from './Box'; import type { Assign, ForwardRef } from './types'; 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>;