Image
A view that displays an image.
info
Images can only render SF Symbols. For uri or asset based impages, use Image
from react-native
.
Example​
- swiftui-react-native
- SwiftUI
- React Native
<Image systemName="bolt.fill" />
Image(systemName: "bolt.fill")
<Image source={require('./assets/bolt.fill.png')} />
Props​
Image inherits all View Modifiers as props.
prop | description | type | required | default |
---|---|---|---|---|
systemName | The SF Symbol name | string | no | undefined |