FontTextStyle

A dynamic text style to use for fonts.

EnumerationiOS 13.0+macOS 10.15+tvOS 13.0+watchOS 6.0+Font.TextStyle in SwiftUI

Declaration

React
type FontTextStyle =
  | 'body'
  | 'callout'
  | 'caption'
  | 'caption2'
  | 'footnote'
  | 'headline'
  | 'largeTitle'
  | 'subheadline'
  | 'title'
  | 'title2'
  | 'title3';
Swift
enum TextStyle

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

Type properties

Used by

See also

More in Styles.