Skip to main content
Version: 1.0.x

Rendering custom (styled) icons

You can pass just React component to leftTopIcon & rightTopIcon prop in AvatarHeader or DetailsHeader components.

<AvatarHeaderScrollView
leftTopIcon={() => <Image style={styles.customStyle} source={require('./custom-icon.png')} />}
rightTopIcon={() => <CustomSvgIcon />}
// ...
>
{/** content */}
</AvatarHeaderScrollView>