Declaration
import { DefaultToolbarItem } from 'swiftui-react-native';nonisolated struct DefaultToolbarItemInitializers
One SwiftUI initializer backs <DefaultToolbarItem>.
<DefaultToolbarItem
kind: SwiftUI.ToolbarDefaultItemKind
placement?: SwiftUI.ToolbarItemPlacement
/>nonisolated init(
kind: ToolbarDefaultItemKind,
placement: ToolbarItemPlacement = .automatic
)placementSwiftUI.ToolbarItemPlacementDefault
`.automatic`
Also takes the common view props: modifiers, style and testID.
See also
More in Toolbars.
- ToolbarItemA model that represents an item which can be placed in the toolbar or navigation bar.
- ToolbarItemGroupA model that represents a group of ToolbarItems 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.