Declaration
import { ToolbarSpacer } from 'swiftui-react-native';nonisolated struct ToolbarSpacerInitializers
One SwiftUI initializer backs <ToolbarSpacer>.
<ToolbarSpacer
sizing?: SwiftUI.SpacerSizing
placement?: SwiftUI.ToolbarItemPlacement
/>nonisolated init(
_ sizing: SpacerSizing = .flexible,
placement: ToolbarItemPlacement = .automatic
)sizingSwiftUI.SpacerSizingDefault
`.flexible`placementSwiftUI.ToolbarItemPlacementDefault
`.automatic`
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.
- ToolbarItemGroupA model that represents a group of ToolbarItems which can be placed in the toolbar or navigation bar.
- ToolbarOverflowMenuThe overflow menu of a toolbar.
- ToolbarTitleMenuThe title menu of a toolbar.