Declaration
import { TabSection } from 'swiftui-react-native';struct TabSection<Header, Content, Footer, SelectionValue>Initializers
3 SwiftUI initializers back <TabSection>. The props you pass pick one.
<TabSection>
children?: ReactNode
</TabSection>init(
@TabContentBuilder<SelectionValue> content: () -> Content
)
where Header == EmptyView, Footer == EmptyViewchildrenReactNodeTabContentmembers.Swift
content: () -> Content
Also takes the common view props: modifiers, style and testID.
See also
More in Navigation.
- LinkA control for navigating to a URL.
- NavigationLinkA view that controls a navigation presentation.
- NavigationSplitViewA view that presents views in two or three columns, where selections in leading columns control presentations in subsequent columns.
- NavigationStackA view that displays a root view and enables you to present additional views over the root view.
- ShareLinkA view that controls a sharing presentation.
- TabThe content for a tab and the tab's associated tab item in a tab view.
- TabsTabbed navigation (SwiftUI TabView with Tab). Each Trigger declares a tab; the Content with the same value is its page.
- TabViewA view that switches between multiple child views using interactive user interface elements.