Describes the props accepted by a Context Consumer.

interface ConsumerProps<T> {
    children: ((value) => ReactNode);
}

Type Parameters

  • T

    The type of the value the context provides.

Properties

Properties

children: ((value) => ReactNode)

Type declaration

Generated using TypeDoc