import { Avatar } from "@wfp/react"; () => { return ( <Avatar image="https://www.wfp.org/sites/default/files/styles/page_accordion/public/images/ourwork_humanitarian.jpg?itok=R0ymBwxH" /> ); };
string
Provide the alt text for the image.
"avatar" |"letter"
Specify the type of Tag
Url to an avatar image The size of the image is 25px * 25px. Provide at least 50px * 50px to support HiDPI displays.
The username which will be displayed in the avatar.
any
Additional props for the UserIcon component