📜  字体粗细反应原生 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:30.162000             🧑  作者: Mango

代码示例3
subWarningText: {
    color: '#5460C8',
    fontWeight: Platform.OS === 'android' ? 'normal' : '400',
    fontSize: 14 / fontScale,
    marginLeft: scaleWidth(24),
    marginRight: scaleWidth(10),
    marginBottom: scaleHeight(276),
  },