Describe the feature
Standard Image props like onError, onLoad, accessibilityLabel, etc. should be able through to the Avatar.Image component.
Motivation
One example is, I'd like to fallback to Avatar.Text if loading an image via URI fails.
Off-topic question: I tried reimplementing Avatar.Image myself since it's so simple, but whenever I use my own component in a FlatList, it terribly lags after about 60 items. When I use Paper's Avatar.Image, everything renders nice and speedily. Is there anything different Paper is doing under the hood to optimize performance? I don't see anything obvious.
Describe the feature
Standard Image props like onError, onLoad, accessibilityLabel, etc. should be able through to the Avatar.Image component.
Motivation
One example is, I'd like to fallback to Avatar.Text if loading an image via URI fails.
Off-topic question: I tried reimplementing Avatar.Image myself since it's so simple, but whenever I use my own component in a FlatList, it terribly lags after about 60 items. When I use Paper's Avatar.Image, everything renders nice and speedily. Is there anything different Paper is doing under the hood to optimize performance? I don't see anything obvious.