Skip to main content

PopoverView

Displays a Swift UI Popover

Official Docs

Preview

button 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

nametyperequireddescription
childrenReact.ReactNodeThe RNSwiftUI view that should trigger the Popover
optionalSubviewsReact.ReactNodeThe RNSwiftUI view that should be displayed inside of the Popover

extends SwiftUIViewProperties