Skip to main content

SheetView

Displays a Swift UI Sheet

Official Docs

Preview​

no preview available

Example Usage​

 <RNSwiftUI.SheetView
height={20}
optionalSubviews={
<RNSwiftUI.ContentUnavailableView
height={200}
width={400}
title="Sheet Content here"
systemIconName="questionmark.app"
/>
}
>
<RNSwiftUI.VStack>
<RNSwiftUI.Text>Open Sheet</RNSwiftUI.Text>
</RNSwiftUI.VStack>
</RNSwiftUI.SheetView>

Props​

nametyperequireddescription
childrenReact.ReactNode✓The RNSwiftUI view that should trigger the Sheet
optionalSubviewsReact.ReactNode✓The RNSwiftUI view that should be displayed inside of the Sheet

extends SwiftUIViewProperties