matrix-react-sdk
Version:
SDK for matrix.org using React
15 lines (14 loc) • 400 B
TypeScript
import React, { ReactNode } from "react";
import { XOR } from "../../../@types/common";
export interface IProps {
description: ReactNode;
detail?: ReactNode;
acceptLabel: string;
onAccept(): any;
}
interface IPropsExtended extends IProps {
rejectLabel: string;
onReject(): any;
}
declare const GenericToast: React.FC<XOR<IPropsExtended, IProps>>;
export default GenericToast;