mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-01 06:36:56 +02:00
Add and use clsx (classnames alternative) (#2249)
Co-authored-by: David Luzar <luzar.david@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ type AvatarProps = {
|
||||
};
|
||||
|
||||
export const Avatar = ({ children, color, onClick }: AvatarProps) => (
|
||||
<div className={`Avatar`} style={{ background: color }} onClick={onClick}>
|
||||
<div className="Avatar" style={{ background: color }} onClick={onClick}>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
|
Reference in New Issue
Block a user