Image
React Native Web Image + Tamagui style props.
Features
Supports SSR.
Works on native and web.
Accepts Tamagui style props.
Usage
Note that you need to set source
like so - the width
and height
properties apply as styles around the image, but the actual image needs source.width
and source.height
for React Native:
export default () => (<Image source={{ width: 200, height: 200, uri: 'https://...' }} width="100%" height="100%" />)