React-native-paper: How to use avatar on CHIP?

Created on 1 Mar 2019  路  2Comments  路  Source: callstack/react-native-paper

I can't understand docs https://callstack.github.io/react-native-paper/chip.html

guide me how to show avatar in chip <Chip avatar={ ??? }>

Most helpful comment

Try <Chip avatar={<Image source={require('path/to/asset')} />}>Chip</Chip>

All 2 comments

Try <Chip avatar={<Image source={require('path/to/asset')} />}>Chip</Chip>

hi @Trancever, this seem not working in latest version

Was this page helpful?
0 / 5 - 0 ratings