diff --git a/index.js b/index.js index d132036..3eecf96 100644 --- a/index.js +++ b/index.js @@ -13,6 +13,8 @@ import styles from './styles'; const ButtonShape = { title: PropTypes.string.isRequired, + icon: PropTypes.string, + iconSize: PropTypes.number, style: ViewPropTypes.style, handler: PropTypes.func, disabled: PropTypes.bool, @@ -39,6 +41,8 @@ function getButtonElement(data, style) { {(!data || data.props) ? data : (