Skip to content

cozy-client / CozyProvider

Class: CozyProvider

Hierarchy

  • Component

    CozyProvider

Constructors

constructor

new CozyProvider(props, context)

Parameters

Name Type
props any
context any

Overrides

Component.constructor

Defined in

packages/cozy-client/src/Provider.jsx:16

Properties

childContextTypes

Static childContextTypes: Object

Type declaration

Name Type
client Validator<object>
store Requireable<object>

Defined in

packages/cozy-client/src/Provider.jsx:28


contextTypes

Static contextTypes: Object

Type declaration

Name Type
store Requireable<object>

Defined in

packages/cozy-client/src/Provider.jsx:33


propTypes

Static propTypes: Object

Type declaration

Name Type
children Validator<ReactElementLike>
client Validator<object>
store Requireable<InferProps<Object>>

Defined in

packages/cozy-client/src/Provider.jsx:12

Methods

getChildContext

getChildContext(): Object

Returns

Object

Name Type
client any
store any

Defined in

packages/cozy-client/src/Provider.jsx:37


render

render(): Element

Returns

Element

Overrides

Component.render

Defined in

packages/cozy-client/src/Provider.jsx:44