File tree Expand file tree Collapse file tree 4 files changed +7
-5
lines changed
Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 2222 - name : Build typescript
2323 run : yarn build
2424
25- - name : Remove dist (to test `tsx`)
26- run : rm -rf ./lib
27-
2825 - name : Test
2926 run : yarn test --coverage
3027
Original file line number Diff line number Diff line change 1+ [ 2.2.0]
2+ Fix typescript not being exposed during deploy. [ #49 ] ( https://github.com/hyochan/react-native-switch-toggle/issues/49 )
3+
4+ Fix transition ` inputRange ` start from ` 0 ` [ #48 ] ( https://github.com/hyochan/react-native-switch-toggle/issues/48 ) .
5+
16[ 2.0.1]
27Update readme.
38
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ function SwitchToggle(props: Props): React.ReactElement {
153153 props . circleStyle ,
154154 {
155155 backgroundColor : animXValue . interpolate ( {
156- inputRange : [ 0.5 , 1 ] ,
156+ inputRange : [ 0 , 1 ] ,
157157 outputRange : [
158158 circleColorOff as string | number ,
159159 circleColorOn as string | number ,
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-switch-toggle" ,
3- "version" : " 2.1.1 " ,
3+ "version" : " 2.2.0 " ,
44 "description" : " Highly customizable animating react native switch toggle component." ,
55 "main" : " lib/index.js" ,
66 "types" : " lib/index.d.ts" ,
You can’t perform that action at this time.
0 commit comments