UNPKG

@shopify/polaris

Version:

Shopify’s admin product component library

11 lines 514 B
import React from 'react'; import type { 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): React.JSX.Element | null; export declare function errorTextID(id: string): string; //# sourceMappingURL=InlineError.d.ts.map