MatchedGeometryProperties

A set of view properties that may be synchronized between views using the View.matchedGeometryEffect() function.

StructureiOS 14.0+macOS 11.0+tvOS 14.0+watchOS 7.0+MatchedGeometryProperties in SwiftUI

Declaration

React
type MatchedGeometryProperties =
  | ('frame'
  | 'position'
  | 'size'
  | { rawValue: number; })
  | readonly ('frame'
  | 'position'
  | 'size'
  | { rawValue: number; })[];
Swift
@frozen struct MatchedGeometryProperties

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

Used by

See also

More in Animation.