diff --git a/lib/Icon.js b/lib/Icon.js index 44b5253..a74321a 100644 --- a/lib/Icon.js +++ b/lib/Icon.js @@ -9,16 +9,18 @@ export default class Icon extends Component { name: PropTypes.string.isRequired, style: View.propTypes.style, size: PropTypes.number, - color: PropTypes.string + color: PropTypes.string, + allowFontScaling: PropTypes.bool }; static defaultProps = { size: 30, - color: '#757575' + color: '#757575', + allowFontScaling: true }; render() { - const { name, style, size, color } = this.props; + const { name, style, size, color, allowFontScaling} = this.props; return ( ); } diff --git a/package.json b/package.json index 7210126..910effe 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "homepage": "https://github.com/react-native-material-design/react-native-material-design", "dependencies": { "react-native-material-design-styles": "https://github.com/react-native-material-design/react-native-material-design-styles.git", - "react-native-vector-icons": "^1.0.3" + "react-native-vector-icons": "^2.0.1" }, "devDependencies": { "babel-eslint": "^4.1.6",