Interface IFetchViewBaseProps<P, A, B, C, D, E, F, G, H, I, J>

Props interface for the IFetchViewBase component.

interface IFetchViewBaseProps<
    P extends any = object,
    A = any,
    B = any,
    C = any,
    D = any,
    E = any,
    F = any,
    G = any,
    H = any,
    I = any,
    J = any,
> {
    animation?: "none" | "slideDown" | "fadeIn" | "scale";
    children: (
        a: A,
        b: B,
        c: C,
        d: D,
        e: E,
        f: F,
        g: G,
        h: H,
        i: I,
        j: J,
    ) => unknown;
    className?: string;
    deps?: any[];
    disabled?: boolean;
    Error?: any;
    fallback?: (e: Error) => void;
    Loader?: any;
    loading?: boolean;
    onLoadEnd?: (isOk: boolean) => void;
    onLoadStart?: () => void;
    payload?: P;
    reloadSubject?: TSubject<void>;
    style?: any;
    throwError?: boolean;
}

Type Parameters

  • P extends any = object

    Type of the component's props.

  • A = any

    Type of parameter A.

  • B = any

    Type of parameter B.

  • C = any

    Type of parameter C.

  • D = any

    Type of parameter D.

  • E = any

    Type of parameter E.

  • F = any

    Type of parameter F.

  • G = any

    Type of parameter G.

  • H = any

    Type of parameter H.

  • I = any

    Type of parameter I.

  • J = any

    Type of parameter J.

Hierarchy

  • Omit<IAsyncProps<P>, keyof { children: never }>
    • IFetchViewBaseProps

Properties

animation?: "none" | "slideDown" | "fadeIn" | "scale"
children: (
    a: A,
    b: B,
    c: C,
    d: D,
    e: E,
    f: F,
    g: G,
    h: H,
    i: I,
    j: J,
) => unknown
className?: string
deps?: any[]
disabled?: boolean
Error?: any
fallback?: (e: Error) => void
Loader?: any
loading?: boolean
onLoadEnd?: (isOk: boolean) => void
onLoadStart?: () => void
payload?: P
reloadSubject?: TSubject<void>
style?: any
throwError?: boolean