import { Matrix } from "../../../common/components/Matrix/Matrix";

export const UserListPage = () => {
	return (
		<Matrix
			baseUrl="/api/users"
			columns={[
				{
					name: "username",
					title: "Username",
				},
			]}
			title="Users"
			notificationMethodPrefix="USERS"
			getModelTitle={(x) => x.username}
			canCreate={true}
			canRemove={true}
			canView={true}
		/>
	);
};
