ToolbarItemGroup
A model that represents a group of ToolbarItems which can be placed in the toolbar or navigation bar.
Declaration
import { ToolbarItemGroup } from 'swiftui-react-native';nonisolated struct ToolbarItemGroup<Content> where Content : ViewInitializers
2 SwiftUI initializers back <ToolbarItemGroup>. The props you pass pick one.
<ToolbarItemGroup
placement?: SwiftUI.ToolbarItemPlacement
>
children?: ReactNode
</ToolbarItemGroup>nonisolated init(
placement: ToolbarItemPlacement = .automatic,
@ContentBuilder content: () -> Content
)placementSwiftUI.ToolbarItemPlacementWhich section of the toolbar all of its vended
ToolbarItems should be placed in.Default
`.automatic`childrenReactNodeContent. Strings become
Text; React Native views are laid out by Yoga and placed by SwiftUI.Swift
content: () -> Content
Also takes the common view props: modifiers, style and testID.
See also
More in Toolbars.
- DefaultToolbarItemA toolbar item that represents a system component.
- ToolbarItemA model that represents an item which can be placed in the toolbar or navigation bar.
- ToolbarOverflowMenuThe overflow menu of a toolbar.
- ToolbarSpacerA standard space item in toolbars.
- ToolbarTitleMenuThe title menu of a toolbar.