UNPKG

matrix-react-sdk

Version:
13 lines (12 loc) 512 B
import React, { PropsWithChildren } from "react"; import { MatrixClient } from "matrix-js-sdk/src/matrix"; interface Props { /** Matrix client, which is exposed to all child components via {@link MatrixClientContext}. */ client: MatrixClient; } /** * A React component which exposes a {@link MatrixClientContext} and a {@link LocalDeviceVerificationStateContext} * to its children. */ export declare function MatrixClientContextProvider(props: PropsWithChildren<Props>): React.JSX.Element; export {};