ControlSize

The size classes, like regular or small, that you can apply to controls within a view.

EnumerationiOS 15.0+macOS 10.15+tvOS 15.0+watchOS 9.0+visionOS 1.0+ControlSize in SwiftUI

Declaration

React
type ControlSize = 'extraLarge' | 'large' | 'mini' | 'regular' | 'small';
Swift
enum ControlSize

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

Type properties

Used by

See also

More in Layout.