您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Icon.js 631B

123456789101112131415161718
  1. import { Platform } from 'react-native';
  2. // FIXME The import of react-native-vector-icons makes the file native-specific
  3. // but the file's name and/or location (within the directory structure) don't
  4. // reflect that, it suggests the file is platform-independent.
  5. import { createIconSetFromIcoMoon } from 'react-native-vector-icons';
  6. import icoMoonConfig from '../../../../fonts/selection.json';
  7. /**
  8. * Creates the Jitsi icon set from the ico moon project config file.
  9. */
  10. export const Icon = createIconSetFromIcoMoon(icoMoonConfig);
  11. // Dynamically load font on iOS
  12. if (Platform.OS === 'ios') {
  13. Icon.loadFont('jitsi.ttf');
  14. }