| Description | PrimaryText text. |
|---|---|
| Type | string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal |
Avatar item
An avatar item is a wrapper that goes around an avatar when it's displayed alongside text, such as a name or status.Props
| Description | Slot to place an avatar element. Use @atlaskit/avatar. |
|---|---|
| Type | string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal |
| Description | Change background color. |
|---|---|
| Type | string |
| Description | URL for avatars being used as a link. |
|---|---|
| Type | string |
| Description | Disable the item from being interactive. |
|---|---|
| Type | boolean |
| Description | By default, overflowing text is truncated if it exceeds the container width. Use this prop to disable this. |
|---|---|
| Type | boolean |
| Description | Used to provide better content to screen readers when using presence/status. Rather than a screen reader speaking "online, approved, John Smith", passing in an label allows a custom message like "John Smith (approved and online)". |
|---|---|
| Type | string |
| Description | Handler to be called on click. |
|---|---|
| Type | (event: MouseEvent<Element, globalThis.MouseEvent>, analyticsEvent?: UIAnalyticsEvent) => void |
| Description | Allows getting a ref to the component instance.
Once the component unmounts, React will set @see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs} |
|---|---|
| Type | string | Ref<HTMLElement> |
| Description | SecondaryText text. |
|---|---|
| Type | string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal |
| Description | Pass target down to the anchor, if href is provided. |
|---|---|
| Type | "_blank" | "_self" | "_top" | "_parent" |
| Description | A |
|---|---|
| Type | string |