b50c54f855
Co-authored-by: David Luzar <luzar.david@gmail.com>
19 lines
382 B
TypeScript
19 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>
|
|
);
|
|
};
|