mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
18 lines
382 B
TypeScript
18 lines
382 B
TypeScript
import "./UserList.scss";
|
|
|
|
import React from "react";
|
|
import clsx from "clsx";
|
|
|
|
type UserListProps = {
|
|
children: React.ReactNode;
|
|
className?: string;
|
|
mobile?: boolean;
|
|
};
|
|
|
|
export const UserList = ({ children, className, mobile }: UserListProps) => {
|
|
return (
|
|
<div className={clsx("UserList", className, { UserList_mobile: mobile })}>
|
|
{children}
|
|
</div>
|
|
);
|
|
};
|