Skip to main content

default

talawa-adminDocs


talawa-admin / components/UserPortal/PeopleCard/PeopleCard / default

Function: default()

> default(props): JSX.Element

PeopleCard component displays information about a person within an organization.

It includes:

  • An image of the person or a default image if none is provided.
  • The serial number of the person.
  • The person's name.
  • The person's email address.
  • The person's role within the organization, styled with a border.

Parameters

props: InterfaceOrganizationCardProps

The properties passed to the component.

Returns

JSX.Element

JSX.Element representing a card with the person's details.

Defined in

src/components/UserPortal/PeopleCard/PeopleCard.tsx:30