From 08b1cb55f92cd818d790c2ac8eaa8808125d89d7 Mon Sep 17 00:00:00 2001 From: Think Wu Date: Sat, 1 Aug 2015 11:52:25 +0800 Subject: [PATCH] :rocket: 0.1.6 --- Source/Lib/mdl/Switch.js | 9 +-------- Source/package.json | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/Source/Lib/mdl/Switch.js b/Source/Lib/mdl/Switch.js index fa64fb5d..a95b4363 100644 --- a/Source/Lib/mdl/Switch.js +++ b/Source/Lib/mdl/Switch.js @@ -5,7 +5,7 @@ // // - @see [MDL Switch](http://bit.ly/1IcHMPo) // - [Props](#props) -// - [Defaults](#props) +// - [Defaults](#defaults) // // Created by ywu on 15/7/28. // @@ -20,11 +20,9 @@ const { TouchableWithoutFeedback, } = React; -// // ##
Thumb
// `Thumb` component of the `Switch`. // Which is displayed as a circle with shadow and ripple effect. -// class Thumb extends Component { constructor(props) { super(props); @@ -151,7 +149,6 @@ const AnimatedThumb = Animated.createAnimatedComponent(Thumb); // ##
Switch
// The `Switch` component. Which is made up of a `Track` and a [`Thumb`](#thumb). -// class Switch extends Component { constructor(props) { super(props); @@ -329,9 +326,7 @@ class Switch extends Component { } } -// // ##
Props
-// Switch.propTypes = { // Touchable... ...TouchableWithoutFeedback.propTypes, @@ -367,9 +362,7 @@ Switch.propTypes = { rippleAniDuration: React.PropTypes.number, }; -// // ##
Defaults
-// Switch.defaultProps = { checked: false, onColor: 'rgba(63,81,181,0.4)', // Indigo + alpha diff --git a/Source/package.json b/Source/package.json index e4b2bcbe..9f4d6fc9 100644 --- a/Source/package.json +++ b/Source/package.json @@ -1,6 +1,6 @@ { "name": "react-native-material-kit", - "version": "0.1.5", + "version": "0.1.6", "description": "Material Design components for React Native", "main": "Lib/index.ios.js", "author": "Yingxin Wu ",