SheetView
Displays a Swift UI Sheet
Official Docs
Preview
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
name | type | required | description |
---|---|---|---|
children | React.ReactNode | ✓ | The RNSwiftUI view that should trigger the Sheet |
optionalSubviews | React.ReactNode | ✓ | The RNSwiftUI view that should be displayed inside of the Sheet |
extends
SwiftUIViewProperties