ToolbarItemPlacement

A structure that defines the placement of a toolbar item.

StructureiOS 14.0+macOS 11.0+tvOS 14.0+watchOS 7.0+

Declaration

React
type ToolbarItemPlacement =
  | 'automatic'
  | 'bottomBar'
  | 'cancellationAction'
  | 'confirmationAction'
  | 'destructiveAction'
  | 'keyboard'
  | 'largeSubtitle'
  | 'largeTitle'
  | 'navigation'
  | 'primaryAction'
  | 'principal'
  | 'secondaryAction'
  | 'status'
  | 'subtitle'
  | 'title'
  | 'topBarLeading'
  | 'topBarPinnedTrailing'
  | 'topBarTrailing';

Pass a literal, or build one with SwiftUI.ToolbarItemPlacement from import { SwiftUI } from 'swiftui-react-native'.

Type properties

Used by

See also

More in Navigation.