δΉ¦ ποΌ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, |