Skip to main content

Profile

Components

The Profile component family provides the following components:

Avatar

A component to render an avatar image

You can import the Avatar component from the profile component family in the @freesewing/react package:

Javascript
import { Avatar } from "@freesewing/react/components/Profile"

OwnProfile

A component for to display the current user's profile.

You can import the OwnProfile component from the profile component family in the @freesewing/react package:

Javascript
import { OwnProfile } from "@freesewing/react/components/Profile"

UserProfile

A component for to display a user profile. Either props.uid or props.fromUrl should be set.

You can import the UserProfile component from the profile component family in the @freesewing/react package:

Javascript
import { UserProfile } from "@freesewing/react/components/Profile"