UNPKG

@combine-labs/combine-polaris

Version:

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

14 lines (13 loc) 605 B
/// <reference types="react" /> import { Error } from '../../types'; export declare type Status = 'success' | 'info' | 'attention' | 'danger'; export interface Props { /** 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; /** Content briefly explaining how to resolve the invalid form field input. */ status?: Status; } declare function InlineValidation({ message, fieldID, status }: Props): JSX.Element | null; export default InlineValidation;