Avatar
![]()
A basic Avatar component that should render nicely on any platform. Supports a good level of customization.
You can customization Avatar component with the Props
Usage#
Reference#
Props#
here all the list of Props you can use for Avatar Component and it Inherits all ImageProps Props, from React Native
source#
source props for give the image url to the Avatar by default it show some ramdom image url type string before loading the image it will show you gray background color
borderRadius#
props for adding the Avatar border radius and type number by default it will 50px be in Avatar
size#
this props gives you 3 different image size like 'large' | 'small' | 'medium' type string
customeSize#
props gives you custome size like 20, 40 etc., type number
type#
props gives you rounded avatar or squared avartar type string--'rounded'|'square' default is rounded
inlineStyle#
props give addition props to the Avatar element type Object