2023-04-21 12:04:27 +00:00
|
|
|
const AvatarGroupProps = [
|
|
|
|
{
|
|
|
|
name: 'label',
|
|
|
|
type: 'string',
|
|
|
|
default: 'null',
|
|
|
|
description: 'Defines the text to display.'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'icon',
|
|
|
|
type: 'string',
|
|
|
|
default: 'null',
|
|
|
|
description: 'Defines the icon to display.'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'image',
|
|
|
|
type: 'string',
|
|
|
|
default: 'null',
|
|
|
|
description: 'Defines the image to display.'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'size',
|
|
|
|
type: 'string',
|
|
|
|
default: 'null',
|
|
|
|
description: 'Size of the element, valid options are "large" and "xlarge".'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'shape',
|
|
|
|
type: 'string',
|
|
|
|
default: 'square',
|
|
|
|
description: 'Shape of the element, valid options are "square" and "circle".'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'pt',
|
|
|
|
type: 'any',
|
|
|
|
default: 'null',
|
|
|
|
description: 'Uses to pass attributes to DOM elements inside the component.'
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
2022-09-12 07:13:52 +00:00
|
|
|
module.exports = {
|
|
|
|
avatargroup: {
|
2022-09-14 14:26:41 +00:00
|
|
|
name: 'AvatarGroup',
|
|
|
|
'doc-url': 'avatar',
|
2023-04-21 12:04:27 +00:00
|
|
|
description: 'A set of Avatars can be displayed together using the AvatarGroup component.',
|
|
|
|
props: AvatarGroupProps
|
2022-09-12 07:13:52 +00:00
|
|
|
}
|
|
|
|
};
|