Image
Displays a SwiftUI Image
Official Docs
Preview
Example Usage
<RNSwiftUI.HStack>
<RNSwiftUI.Image systemIconName="tree" />
<RNSwiftUI.Image imageUrl="https://{urltoimage}" />
<RNSwiftUI.Image localImageName="test" />
</RNSwiftUI.HStack>
Props
name | type | required | description |
---|---|---|---|
imageUrl | string | ✓ / ✕ | The url for the image that should be shown (https) |
systemIconName | SFSymbol | ✓ / ✕ | The symbol to display (SF symbol) |
localImageName | string | ✓ / ✕ | The name of an xcode asset |
extends
SwiftUIViewProperties