Describes the props accepted by a Context Provider.

interface ProviderProps<T> {
    children?: ReactNode;
    value: T;
}

Type Parameters

  • T

    The type of the value the context provides.

Properties

Properties

children?: ReactNode
value: T

Generated using TypeDoc