EdgeSet

An efficient set of edges.

StructureiOS 13.0+macOS 10.15+tvOS 13.0+watchOS 6.0+Edge.Set in SwiftUI

Declaration

React
type EdgeSet =
  | ('all'
  | 'bottom'
  | 'horizontal'
  | 'leading'
  | 'top'
  | 'trailing'
  | 'vertical'
  | { rawValue: number; }
  | Edge)
  | readonly ('all'
  | 'bottom'
  | 'horizontal'
  | 'leading'
  | 'top'
  | 'trailing'
  | 'vertical'
  | { rawValue: number; }
  | Edge)[];
Swift
@frozen struct Set

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

Used by

See also

More in Layout.