From 9267a844a99cf14e9f580675280db8052b662a21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hagen=20H=C3=BCbel?= Date: Tue, 27 Dec 2016 18:04:45 +0100 Subject: [PATCH] fixed proptypes --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index d07cb5f..443883e 100644 --- a/index.js +++ b/index.js @@ -100,7 +100,7 @@ let __iconSet = null; Ikon.propTypes = { name: PropTypes.string.isRequired, - style: PropTypes.object, + style: PropTypes.oneOfType([PropTypes.object, PropTypes.number]), resizeMode: PropTypes.string, autoScale: PropTypes.bool, }