AxisSet
An efficient set of axes.
Declaration
type AxisSet =
| ('horizontal'
| 'vertical'
| { rawValue: number; })
| readonly ('horizontal'
| 'vertical'
| { rawValue: number; })[];@frozen struct SetPass a literal, or build one with SwiftUI.AxisSet from import { SwiftUI } from 'swiftui-react-native'.
Used by
- ScrollViewA scrollable view.
- ViewThatFitsA view that adapts to the available space by providing the first child view that fits.
- containerRelativeFramePositions this view within an invisible frame with a size relative to the nearest container.
- gridCellUnsizedAxesAsks grid layouts not to offer the view extra size in the specified axes.
- scrollBounceBehaviorConfigures the bounce behavior of scrollable views along the specified axis.
- scrollIndicatorsSets the visibility of scroll indicators within this view.
See also
More in Other values.
- AxisThe horizontal or vertical dimension in a 2D coordinate system.
- ButtonRoleA value that describes the purpose of a button.
- CapsuleA capsule shape aligned inside the frame of the view containing it.
- CircleA circle centered on the frame of the view containing it.
- ConcentricRectangleA shape whose corners you configure, individually or uniformly, to be squared, rounded, or concentric relative to a container shape's corners.
- ContentMarginGuideA guide for resolving the content margins for a view.
- ContentMarginPlacementThe placement of margins.
- ContentModeConstants that define how a view's content fills the available space.
- DatePickerComponents
- DatePickerComponents2The date and time components that a date picker shows.
- DeviceHingeA type encapsulating the state of a single hinge.
- DeviceHingeContextA type describing the context of hinges on the device.