Skip to content
API/QubeeProviderProps

QubeeProviderProps

type
src/types/qubee-provider-props.type.ts

Props of QubeeProvider: either the configuration of an instance the provider creates and owns, or an instance created elsewhere — never both.

import type { QubeeProviderProps } from '@qubeejs/react';
type QubeeProviderProps = (QubeeConfig & { … }) | { … }

Everything in QubeeConfig, plus:

Member Type Description
children ReactNode The subtree that shares the instance.
value? never Not allowed with a configuration: pass one or the other.
Member Type Description
children ReactNode The subtree that shares the instance.
value Qubee An instance created elsewhere, e.g. by createQubee().