Skip to main content

Image

Displays a SwiftUI Image

Official Docs

Preview

preview

Example Usage

<RNSwiftUI.HStack>
<RNSwiftUI.Image systemIconName="tree" />
<RNSwiftUI.Image imageUrl="https://{urltoimage}" />
<RNSwiftUI.Image localImageName="test" />
</RNSwiftUI.HStack>

Props

nametyperequireddescription
imageUrlstring✓ / ✕The url for the image that should be shown (https)
systemIconNameSFSymbol✓ / ✕The symbol to display (SF symbol)
localImageNamestring✓ / ✕The name of an xcode asset

extends SwiftUIViewProperties