matrix-react-sdk
Version:
SDK for matrix.org using React
9 lines (8 loc) • 336 B
TypeScript
import { Room } from "matrix-js-sdk/src/matrix";
import { HTMLAttributes, ReactHTML } from "react";
type Props<T extends keyof ReactHTML> = HTMLAttributes<T> & {
component?: T;
room: Room;
};
export declare function RoomContextDetails<T extends keyof ReactHTML>({ room, component, ...other }: Props<T>): JSX.Element;
export {};