Avatar

Avatar component for logo and profile images Example

  <Avatar
    borderColor={'color'}
    borderRadius={'number'}
    borderWidth={'number'}
    duration={'number'}
    fontColor={'color'}
    icon={'name of icon'}
    image={<Image source={require('../../../assets/avatar07.png')}/>}
    size={'number'}
  />

Props

Prop Type Default Required Description
backgroundColor string '#4caf50' Yes background color of Avatar
borderColor string 'rgba(0,0,0,.1)' Yes border color of Avatar
borderRadius number 40 / 2 Yes border radius of Avatar
borderWidth number 1 Yes border width of Avatar
color string '#ffffff' Yes font/icon color of Avatar
icon string Yes icon name of Avatar
image shape[object Object] Yes image source of Avatar
size number 40 Yes size of Avatar
text string Yes text of Avatar
zIndex number 0 Yes zIndex of Avatar

results matching ""

    No results matching ""