From 6e0ded3de2dbe1eea637517e6bf017c6517e4e5b Mon Sep 17 00:00:00 2001 From: Adrien Thiery Date: Mon, 10 May 2021 09:35:31 +0200 Subject: [PATCH] Fixes --- OpenGraphAwareInput.js | 16 ++++++++++------ package.json | 2 +- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/OpenGraphAwareInput.js b/OpenGraphAwareInput.js index f8d3eae..353a63e 100644 --- a/OpenGraphAwareInput.js +++ b/OpenGraphAwareInput.js @@ -73,24 +73,28 @@ export default class OpenGraphAwareInput extends Component { 0, this.props.resultLimit ); + + const { containerStyle, iconStyle, iconSource, onIconPress, showIcon, textInputStyle, ...rest } = this.props; + return ( - + {ogDataToDisplay.map((meta, i) => ( ))} diff --git a/package.json b/package.json index dc3fccd..58abff3 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "A set of components and utils useful to extract opengraph data directly from your react-native app", "main": "index.js", "scripts": { - "test": "mocha --compilers js:babel-core/register --reporter spec" + "test": "mocha --require babel-core/register --reporter spec" }, "repository": { "type": "git",