2020-09-26 02:48:45 +05:30
|
|
|
import "./UserList.scss";
|
2020-06-19 11:36:49 +01:00
|
|
|
|
|
|
|
import React from "react";
|
2020-10-19 17:14:28 +03:00
|
|
|
import clsx from "clsx";
|
2020-06-19 11:36:49 +01:00
|
|
|
|
|
|
|
type UserListProps = {
|
|
|
|
children: React.ReactNode;
|
|
|
|
className?: string;
|
|
|
|
mobile?: boolean;
|
|
|
|
};
|
|
|
|
|
|
|
|
export const UserList = ({ children, className, mobile }: UserListProps) => {
|
2020-10-19 17:14:28 +03:00
|
|
|
return (
|
|
|
|
<div className={clsx("UserList", className, { UserList_mobile: mobile })}>
|
|
|
|
{children}
|
|
|
|
</div>
|
|
|
|
);
|
2020-06-19 11:36:49 +01:00
|
|
|
};
|