Skip to Content
ComponentsProfileCard

ProfileCard

The ProfileCard component is a card with a profile image, name, and subscription status.

ProfileCard

Basic Usage

<ProfileCard image={{uri: "https://picsum.photos/200/200"}} name="Sam" showPremiumIcon={true} /> <ProfileCard image={require("../../assets/images/profile.jpg")} name="Sam" showPremiumIcon={true} />

Import

import ProfileCard from "../components/ProfileCard";

Props

  • image (string): Image source.
  • name (string): Name of the user.
  • showPremiumIcon (boolean): Whether to show the premium icon.