Edge

An enumeration to indicate one edge of a rectangle.

EnumerationiOS 13.0+macOS 10.15+tvOS 13.0+watchOS 6.0+Edge in SwiftUI

Declaration

React
type Edge =
  | 'bottom'
  | 'leading'
  | 'top'
  | 'trailing'
  | { rawValue: number; };
Swift
@frozen enum Edge

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

Type properties

Type methods

Used by

See also

More in Layout.