Phantom Stories Library - v0.0.8
    Preparing search index...

    Interface FailingProps<T>

    Props for the Failing component, used when the Validation is in a Failing state.

    interface FailingProps<T> {
        messages: string[];
        validation: Validation<T>;
    }

    Type Parameters

    • T

      The type of the data in Passing state (unused in Failing).

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    messages: string[]

    Array of error messages from the Failing state.

    validation: Validation<T>

    The Validation instance to render.