Skip to content

Instantly share code, notes, and snippets.

View tw93's full-sized avatar
🏂
至繁归于至简.

Tw93 tw93

🏂
至繁归于至简.
View GitHub Profile
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View,
Animated, //使用Animated组件
Easing, //引入Easing渐变函数
} from 'react-native';
@tw93
tw93 / fliggy-loading.markdown
Created January 26, 2017 05:58
Fliggy Loading
@tw93
tw93 / .md
Last active March 7, 2018 13:19
【Discussion】 More enhanced about <web> component

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.

Target

@tw93
tw93 / <switch>.md
Last active March 21, 2018 11:16
[weex] Support setting color about <switch>

Background

  • 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.

New Support && Demo

  • 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.
@tw93
tw93 / 📊 Weekly development breakdown
Last active January 15, 2023 08:23
🏊 Weekly development time
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%
@tw93
tw93 / douban.md
Last active January 15, 2023 08:24
DouBan

书 📚:6 在读 · 3 想读 · 53 读过
影 🎬:0 在看 · 1 想看 · 166 看过
音 🎵:0 在听 · 0 想听 · 6 听过