UNPKG

@combine-labs/combine-polaris

Version:

Combine Lab's product component library. Forked from Shopify's Polaris.

14 lines (13 loc) 421 B
/// <reference types="react" /> export interface Props { /** Label content */ children?: string; /** A unique identifier for the label */ id: string; /** Visually hide the label */ hidden?: boolean; /** Is an optional field */ optional?: boolean; } export declare function labelID(id: string): string; export default function Label({ children, id, hidden, optional }: Props): JSX.Element;