DefaultLabelStyle

The default label style in the current context.

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

Declaration

React
type DefaultLabelStyle = SwiftOpaque<'DefaultLabelStyle'>;
Swift
nonisolated struct DefaultLabelStyle

Overview

You can also use LabelStyle.automatic to construct this style.

From Apple’s SwiftUI documentation. Code samples there are Swift.

See also

More in Styles.