Avatar API
API documentation for Avatar component
AvatarRoot#
Props#
Defines valid properties in AvatarRoot component.
State#
Defines valid state in Avatar component.
Exposes#
Defines the methods and properties exposed by AvatarRoot component.
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of AvatarRoot component.
Types#
Instance
Instance of AvatarRoot component.
| values |
|---|
| ComponentInstance<AvatarRootProps, AvatarRootState, AvatarRootExposes> |
AvatarFallback#
Props#
Defines valid properties in AvatarFallback component.
Exposes#
Defines the methods and properties exposed by AvatarFallback component.
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of AvatarFallback component.
| name | type | default | description |
|---|---|---|---|
| root | AvatarFallbackPassThroughType<HTMLAttributes<HTMLSpanElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of AvatarFallback component.
| values |
|---|
| ComponentInstance<AvatarFallbackProps, AvatarFallbackState, AvatarFallbackExposes> |
AvatarImage#
Props#
Defines valid properties in AvatarImage component.
Exposes#
Defines the methods and properties exposed by AvatarImage component.
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of AvatarImage component.
| name | type | default | description |
|---|---|---|---|
| root | AvatarImagePassThroughType<HTMLAttributes<HTMLImageElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of AvatarImage component.
| values |
|---|
| ComponentInstance<AvatarImageProps, AvatarImageState, AvatarImageExposes> |
AvatarGroup#
Props#
Defines valid properties in AvatarGroup component.
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of AvatarGroup component.
| name | type | default | description |
|---|---|---|---|
| root | AvatarGroupPassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of AvatarGroup component.
| values |
|---|
| ComponentInstance<AvatarGroupProps, AvatarGroupState, AvatarGroupExposes> |
useAvatar#
Props#
Defines valid properties in useAvatar.
State#
Defines valid state in useAvatar.
Exposes#
Defines the methods and properties exposed by useAvatar.
Events#
Types#
Instance
Instance of useAvatar headless.
| values |
|---|
| HeadlessInstance<useAvatarProps, useAvatarState, useAvatarExposes> |