@excalidraw/excalidraw
Version:
Excalidraw as a React component
11 lines (10 loc) • 324 B
TypeScript
import "./Avatar.scss";
import React from "react";
declare type AvatarProps = {
children: string;
onClick: (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
color: string;
border: string;
};
export declare const Avatar: ({ children, color, border, onClick }: AvatarProps) => JSX.Element;
export {};