excalidraw/src/components/UserList.tsx

19 lines
382 B
TypeScript
Raw Normal View History

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>
);
};