Skip to main content

avatar

const avatar = () => {
return (
<Layout>
<ImageAvatar uri={'https://expertphotography.b-cdn.net/wp-content/uploads/2018/10/cool-profile-picture-intro.jpg'}>
</Layout>
);
};

export default avatar;

Api References for avatar

ParameterTypeDescription
uri objecturi image link (external)
imgSstringimage width
imgHstringimage height
alignSelfstringalignSelf default is center
borderRadiusstringborderRadius
modestringresizeMode types
requirestringrequire image address (internal)
blurnumberimage blur view
styleanyyour custom styles