ไนฆ ๐๏ผ6 ๅจ่ฏป ยท 3 ๆณ่ฏป ยท 53 ่ฏป่ฟ
ๅฝฑ ๐ฌ๏ผ0 ๅจ็ ยท 1 ๆณ็ ยท 166 ็่ฟ
้ณ ๐ต๏ผ0 ๅจๅฌ ยท 0 ๆณๅฌ ยท 6 ๅฌ่ฟ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TypeScript 18 hrs 13 mins โโโโโโโโโโโโโโโโโโโโโโโโ 45.1% | |
Swift 8 hrs 14 mins โโโโโโโโโโโโโโโโโโโโโโโโ 20.4% | |
JavaScript 3 hrs 58 mins โโโโโโโโโโโโโโโโโโโโโโโโ 9.8% | |
Markdown 2 hrs 42 mins โโโโโโโโโโโโโโโโโโโโโโโโ 6.7% | |
JSON 2 hrs 37 mins โโโโโโโโโโโโโโโโโโโโโโโโ 6.5% | |
Vue.js 1 hr 2 mins โโโโโโโโโโโโโโโโโโโโโโโโ 2.6% |
- Currently, the component in Weex only support the default green color, But many times the business needs to set color for the theme tone of the product, So needs to support setting the color.
- tintColor: Background color when the switch is turned on.
- onTintColor: Border color and background color on Android when the switch is turned off.
- thumbTintColor: Color of the foreground switch grip.
0301 Modified version
0302 Modified version
0307 Modified version
Hi, I'm Tw93(ไพๅค) from Fliggy, I'd like to discuss the enhancements about component, let it take over where we can't implement through weex.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import { | |
AppRegistry, | |
StyleSheet, | |
Text, | |
View, | |
Animated, //ไฝฟ็จAnimated็ปไปถ | |
Easing, //ๅผๅ ฅEasingๆธๅๅฝๆฐ | |
} from 'react-native'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Sample React Native App | |
* https://github.com/facebook/react-native | |
* @flow | |
*/ | |
import React, { Component } from 'react'; | |
import { | |
AppRegistry, | |
StyleSheet, |