User

Last modified by Manuel Leduc on 2024/11/25 16:09

Description

The user extension provides UI components to display users.

User

N/A

Admin

N/A

Developer

Package name @xwiki/cristal-user-ui

User

  • name: User

Props

import { UserDetails } from "@xwiki/cristal-authentication-api";
type Props = { user: UserDetails }

Usage

<script type="ts" setup>
import { UserDetails } from "@xwiki/cristal-authentication-api";
import { User } from "@xwiki/cristal-user-ui";
const user: UserDetails = ...;
</script>

<template>
<user :user="user" />
</template>

Display the user name, and if the UserDetails have a profile link, wraps the user name in a link.

France 2030 Logo

This project is being financed by the French State as part of the France 2030 program

Ce projet est financé par l’État Français dans le cadre de France 2030

  • Powered by XWiki 16.4.4-node1. Hosted and managed by XWiki SAS

Get Connected