middag-react
    Preparing search index...

    Interface SharedProps

    interface SharedProps {
        auth?: SharedAuth;
        csrf_token?: string;
        errors?: FormErrors | FormErrorBags;
        flash?: FlashMessages;
        locale?: string;
        navigation?: NavigationTree;
        scope?: { [k: string]: unknown };
        theme?: SharedTheme;
        [k: string]: unknown;
    }

    Indexable

    • [k: string]: unknown
    Index
    auth?: SharedAuth
    csrf_token?: string
    errors?: FormErrors | FormErrorBags

    Validation errors of the current request: a FormErrors map or, when the request carried the X-Inertia-Error-Bag header, a FormErrorBags map of bag name to FormErrors. The wire is not self-describing: the reader that sent the header reads errors[bag]; any other reader treats the map as flat.

    locale?: string
    navigation?: NavigationTree
    scope?: { [k: string]: unknown }
    theme?: SharedTheme