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.
22 lines (20 loc) • 582 B
text/typescript
import { ReactNode, MouseEventHandler } from "react";
export interface NormaChatMessageBalloonProps {
avatar?: {
src: string;
alt: string;
}
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;
}