@focuson/form_components
Version:
Components that can be used by @focuson/forms
8 lines (7 loc) • 419 B
TypeScript
import { LensProps } from "@focuson/state";
import { PageSelectionContext } from "@focuson/pages";
export interface LabelProps<S, Context extends PageSelectionContext<S>> extends LensProps<S, any, Context> {
label?: string;
htmlFor?: string;
}
export declare function Label<S, Context extends PageSelectionContext<S>>({ state, label, htmlFor }: LabelProps<S, Context>): import("react/jsx-runtime").JSX.Element;