fun-user
This component displays a user name along with its avatar. If there is no url the avatar falls back to the mystery person image.
There is also an option to use the Funnel logo as an avatar.
Examples
Specifications
Properties
Property | Attribute | Required | Description | Type | Default |
---|---|---|---|---|---|
isError | is-error | false | Show error state. Will print “Unknown user” instead of userDisplayName | boolean | |
isLoading | is-loading | false | Show loading state | boolean | |
isSuperuser | is-superuser | false | Show superuser icon after name | boolean | |
size | size | false | Avatar image size in px | number | 25 |
url | url | false | Url to avatar image | string | |
useFunnelAvatar | use-funnel-avatar | false | Show Funnel logo as an avatar | boolean | false |
userDisplayName | user-display-name | false | User display name | string |
Dependencies
Depends on
This documentation page generated from the source at fun-user.tsx