Skip to content

Commit

Permalink
Merge pull request ant-design#57 from CodingPapi/fix_normalizeColor
Browse files Browse the repository at this point in the history
Replace with normalize-css-color
  • Loading branch information
silentcloud authored Jul 17, 2018
2 parents a9b394b + 6f21ee2 commit 893f542
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/segmented-control/segmented.android.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
View,
ViewStyle,
} from 'react-native';
import normalizeColor from 'react-native/Libraries/StyleSheet/normalizeColor';
import normalizeColor from 'normalize-css-color';
import setNormalizedColorAlpha from 'react-native/Libraries/StyleSheet/setNormalizedColorAlpha';
import { SegmentedControlPropsType } from './PropsType';
import AndroidStyle, { ISegmentControlStyle } from './style/index.native';
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"dependencies": {
"array-tree-filter": "~2.1.0",
"babel-runtime": "6.x",
"normalize-css-color": "^1.0.2",
"rc-swipeout": "~2.0.0",
"react-native-camera-roll-picker": "^1.2.1",
"react-native-collapsible": "^0.9.0",
Expand Down

0 comments on commit 893f542

Please sign in to comment.