Renders a user as a row of a list of users: their avatar and name, linking to their profile, and a button to follow them.
f
UserCard(unnamed 0: UserCardProps): React.JSX.Element
Renders user as an <li> of a .user-card-list, with the follow button,
which FollowUserButton hides on the viewer's own card.
I
UserCardProps
Passed to UserCard by the profile's follow tab and the community page's new members.
-
note: ReactNode
A line under the name, such as who invited them.
- user: PublicUser
Usage
import * as mod from "src/components/social/UserCard.tsx";