Fixed #2670 - Avatar | New error event

This commit is contained in:
Tuğçe Küçükoğlu 2022-06-14 17:13:53 +03:00
parent bd8af92a12
commit 6386ffa015
4 changed files with 52 additions and 14 deletions

View file

@ -31,10 +31,18 @@ const AvatarProps = [
}
];
const AvatarEvents = [
{
name: "error",
description: "Triggered when an error occurs while loading an image file."
}
];
module.exports = {
avatar: {
name: "Avatar",
description: "Avatar represents people using icons, labels and images.",
props: AvatarProps
props: AvatarProps,
events: AvatarEvents
}
};