UNPKG

@shopify/polaris

Version:

Shopify’s admin product component library

11 lines (10 loc) 487 B
import { Error } from '../../types'; export interface InlineErrorProps { /** Content briefly explaining how to resolve the invalid form field input. */ message: Error; /** Unique identifier of the invalid form field that the message describes */ fieldID: string; } export declare function InlineError({ message, fieldID }: InlineErrorProps): JSX.Element | null; export declare function errorTextID(id: string): string; //# sourceMappingURL=InlineError.d.ts.map