monorepo/visions/ui/src/components/UserManagement/UserManagement.tsx
Savanni D'Gerinel d0ba8d921d Create a user expiration time and make new users immediately expired
This is to give the ability to force the user to create a new password as soon as they log in.
2025-01-19 15:05:02 -05:00

17 lines
389 B
TypeScript

import { UserProfile } from "visions-types"
import { CardElement } from ".."
interface UserManagementProps {
users: UserProfile[]
}
export const UserManagementElement = ({ users }: UserManagementProps ) => {
return (
<CardElement>
<ul>
{users.map((user) => <li key={user.id}>{user.name}</li>)}
</ul>
</CardElement>
)
}