UserProfile

Component for displaying user profile information.
1import { UserProfile } from '@avalabs/avacloud-waas-react';
2
3function ProfileSection() {
4 return (
5 <UserProfile
6 className="custom-class" // Optional custom class
7 showLogout={true} // Optional, shows the logout button
8 />
9 );
10}

Props

1interface UserProfileProps {
2 className?: string;
3 showLogout?: boolean;
4}

Features

  • Displays user profile information
  • Optional logout button
  • Customizable styling through className
  • Handles user state automatically

If you need more help, explore our other articles or reach out to our support team via chat or email [email protected]. All examples provided are for demonstration purposes only.

Learn More About AvaCloud | Download Case Studies | Schedule an AvaCloud Demo