PopoverView
Displays a Swift UI Popover
Official Docs
Preview
Example Usage
<RNSwiftUI.PopoverView
height={20}
optionalSubviews={
<RNSwiftUI.ContentUnavailableView
height={200}
width={400}
title="Popover Content here"
systemIconName="questionmark.app"
/>
}
>
<RNSwiftUI.VStack>
<RNSwiftUI.Text>Open Popover</RNSwiftUI.Text>
</RNSwiftUI.VStack>
</RNSwiftUI.PopoverView>
Props
name | type | required | description |
---|---|---|---|
children | React.ReactNode | ✓ | The RNSwiftUI view that should trigger the Popover |
optionalSubviews | React.ReactNode | ✓ | The RNSwiftUI view that should be displayed inside of the Popover |
extends
SwiftUIViewProperties