norma-library
Version:
Olos/Norma-DS. Design System based on Material UI, developed with TypeScript and Styled Components to create reusable and consistent components in web applications.
17 lines (16 loc) • 547 B
TypeScript
import { ReactNode, MouseEventHandler } from "react";
export interface ChatMessageBalloonProps {
label: string;
description: ReactNode;
date: string;
direction: "I" | "O";
onMouseEnter?: MouseEventHandler<HTMLDivElement>;
onMouseLeave?: MouseEventHandler<HTMLDivElement>;
onRowMouseEnter?: MouseEventHandler<HTMLDivElement>;
onRowMouseLeave?: MouseEventHandler<HTMLDivElement>;
highlight?: boolean;
attachments?: string[];
children?: ReactNode;
bottomChildren?: ReactNode;
className?: string;
}