From d189b80d004c52354922c3176e35c7522b09dc71 Mon Sep 17 00:00:00 2001 From: Luke Brandon Farrell Date: Mon, 16 Apr 2018 19:16:53 +0200 Subject: [PATCH] 1.0.5 --- README.md | 4 ++-- index.js | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1b015d2..e8e2fb5 100644 --- a/README.md +++ b/README.md @@ -39,12 +39,12 @@ Then add it to your code: Works as a normal react component. All probs available from ``. ```js - + This is some text ``` -Works with [react-native-vector-icons](https://github.com/oblador/react-native-vector-icons). But it's not a dependency! nor a necessity. +Works well with [react-native-vector-icons](https://github.com/oblador/react-native-vector-icons). But it's not a dependency! nor a necessity. ```js } diff --git a/index.js b/index.js index 89e0bd3..a87c9d9 100644 --- a/index.js +++ b/index.js @@ -47,7 +47,7 @@ class TextWith extends React.Component { if(objectPosition == 'right' || objectPosition == 'bottom'){ components.reverse(); } - + return ( { components } @@ -66,8 +66,8 @@ TextWith.propTypes = { object: PropTypes.object, objectPosition: PropTypes.oneOf(['left', 'right', 'top', 'bottom']), objectMargin: PropTypes.number, - textStyle: PropTypes.object, - containerStyle: PropTypes.object, + textStyle: PropTypes.any, + containerStyle: PropTypes.any, }; export default TextWith;