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.ReactNodeThe RNSwiftUI view that should trigger the Sheet
optionalSubviewsReact.ReactNodeThe RNSwiftUI view that should be displayed inside of the Sheet

extends SwiftUIViewProperties