样式化的组件和PlatformColor React-Native 0.63

时间:2020-09-14 11:57:26

标签: react-native

我在此文件中可以处理应用程序的所有颜色,我打算使用React-Native 0.63的PlatformColor 但出现错误:

enter image description here

带有颜色的文件:

  colors: {
    background: '#000',
    text: '#fff',
    subText: '#f27b35',
    red: '#d32f2f',
    green: '#388e3c',
    primary: '#353132',
    second: '#f22973',
    third: '#d09c44',
    notify: '#BF343F',
    warning: '#d09c44',
    gray: '#ccc',
    inactive: '#626262',
    icons: '#f22973',
    status: {
      orcamento: '#1976D2',
      aguardando: '#FF5722',
      recebido: '#FFC107',
      processado: '#689F38',
      pago: '#388E3C',
      faturado: '#8BC34A',
      enviado: '#673AB7',
      encerrado: '#607D8B',
    },
  },
  barStyle: 'light-content',
};

0 个答案:

没有答案