matrix-react-sdk
Version:
SDK for matrix.org using React
19 lines (18 loc) • 503 B
TypeScript
import React, { ReactNode } from "react";
interface Props {
label: string;
children?: ReactNode;
}
export declare const enum SeparatorKind {
None = 0,
Date = 1,
LateEvent = 2
}
/**
* Generic timeline separator component to render within a MessagePanel
*
* @param label the accessible label string describing the separator
* @param children the children to draw within the timeline separator
*/
declare const TimelineSeparator: React.FC<Props>;
export default TimelineSeparator;