This is to give the ability to force the user to create a new password as soon as they log in.
17 lines
389 B
TypeScript
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>
|
|
)
|
|
}
|