Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IFontFamilyOptions

Options for the FontFamily class. Can be used to provide the fonts to use for an application. The fonts that are specified will need to be loaded into the font registry.

example
import { FontFamily } from '@ef-carbon/react-native-style';
const family = new FontFamily({
  normal: 'Roboto',
  serif: 'Wubba',
  sansSerif: 'Lubba',
  monospaced: 'DubDub','
})

Hierarchy

  • object
    • IFontFamilyOptions