TitleOnlyLabelStyle

A label style that only displays the title of the label.

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

Declaration

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

Overview

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

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

See also

More in Styles.