matrix-react-sdk
Version:
SDK for matrix.org using React
16 lines (15 loc) • 455 B
TypeScript
import { JSX } from "react";
import { MatrixClient } from "matrix-js-sdk/src/matrix";
/**
* Properties for {@link UnpinAllDialog}.
*/
interface UnpinAllDialogProps {
matrixClient: MatrixClient;
roomId: string;
onFinished: () => void;
}
/**
* A dialog that asks the user to confirm unpinning all events in a room.
*/
export declare function UnpinAllDialog({ matrixClient, roomId, onFinished }: UnpinAllDialogProps): JSX.Element;
export {};