FontTextStyle
A dynamic text style to use for fonts.
Declaration
type FontTextStyle =
| 'body'
| 'callout'
| 'caption'
| 'caption2'
| 'footnote'
| 'headline'
| 'largeTitle'
| 'subheadline'
| 'title'
| 'title2'
| 'title3';enum TextStylePass a literal, or build one with SwiftUI.FontTextStyle from import { SwiftUI } from 'swiftui-react-native'.
Type properties
'body'SwiftUI.FontTextStyle.bodyThe font used for body text.
'callout'SwiftUI.FontTextStyle.calloutThe font used for callouts.
'caption'SwiftUI.FontTextStyle.captionThe font used for standard captions.
'caption2'SwiftUI.FontTextStyle.caption2The font used for alternate captions.
'footnote'SwiftUI.FontTextStyle.footnoteThe font used in footnotes.
'headline'SwiftUI.FontTextStyle.headlineThe font used for headings.
'largeTitle'SwiftUI.FontTextStyle.largeTitleThe font style for large titles.
'subheadline'SwiftUI.FontTextStyle.subheadlineThe font used for subheadings.
'title'SwiftUI.FontTextStyle.titleThe font used for first level hierarchical headings.
'title2'SwiftUI.FontTextStyle.title2The font used for second level hierarchical headings.
'title3'SwiftUI.FontTextStyle.title3The font used for third level hierarchical headings.
Used by
See also
More in Styles.
- AccessoryCircularCapacityGaugeStyleA gauge style that displays a closed ring that's partially filled in to indicate the gauge's current value.
- AccessoryCircularGaugeStyleA gauge style that displays an open ring with a marker that appears at a point along the ring to indicate the gauge's current value.
- AccessoryLinearCapacityGaugeStyleA gauge style that displays bar that fills from leading to trailing edges as the gauge's current value increases.
- AccessoryLinearGaugeStyleA gauge style that displays bar with a marker that appears at a point along the bar to indicate the gauge's current value.
- ArrangementViewStyleA style that configures an ArrangementView with an arrangement.
- AutomaticArrangementViewStyleThe default arrangement view style.
- AutomaticControlGroupStyleThe default control group style.
- AutomaticDisclosureGroupStyleA disclosure group style that resolves its appearance automatically based on the current context.
- AutomaticFormStyleThe default form style.
- AutomaticLabeledContentStyleThe default labeled content style.
- AutomaticNavigationSplitViewStyleA navigation split style that resolves its appearance automatically based on the current context.
- AutomaticTableStyleThe default table style in the current context.