You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/main/src/webComponents/AvatarGroup/index.tsx
+15-2Lines changed: 15 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -33,10 +33,23 @@ export interface AvatarGroupPropTypes extends Omit<WithWebComponentPropTypes, 'o
33
33
* **Note:** The UX guidelines recommends using avatars with "Circle" shape. Moreover, if you use avatars with "Square" shape, there will be visual inconsistency as the built-in overflow action has "Circle" shape.
34
34
*/
35
35
children?: ReactNode|ReactNode[];
36
+
/**
37
+
* Defines the overflow button of `AvatarGroup`. **Note:** We recommend using the `Button` component.
38
+
*
39
+
* **Note:** If this slot is not used, the `AvatarGroup` will display the built-in overflow button.
40
+
*
41
+
* __Note:__ When passing a custom React component to this prop, you have to make sure your component reads the `slot` prop and appends it to the most outer element of your component.
42
+
* Learn more about it [here](https://sap.github.io/ui5-webcomponents-react/?path=/docs/knowledge-base--page#adding-custom-components-to-slots).
43
+
*/
44
+
overflowButton?: ReactNode;
36
45
/**
37
46
* Fired when the `AvatarGroup` is activated either with a click/tap or by using the Enter or Space key.
* If set to `Uploading` or `Error`, a progress indicator showing the `progress` is displayed. Also if set to `Error`, a refresh button is shown. When this icon is pressed `onRetry` event is fired. If set to `Uploading`, a terminate button is shown. When this icon is pressed `onTerminate` event is fired.
40
41
*/
41
42
uploadState?: UploadState;
43
+
/**
44
+
* Defines the visual indication and behavior of the list items. Available options are `Active` (by default), `Inactive` and `Detail`.
45
+
*
46
+
* **Note:** When set to `Active`, the item will provide visual response upon press and hover, while with type `Inactive` and `Detail` - will not.
47
+
*/
48
+
type?: ListItemTypes;
49
+
/**
50
+
* Defines the selected state of the `ListItem`.
51
+
*/
52
+
selected?: boolean;
42
53
/**
43
54
* Hold the description of the `UploadCollectionItem`. Will be shown below the file name.
0 commit comments