From afecb5d5b4410572f8285555853df2ab609575bb Mon Sep 17 00:00:00 2001 From: Orkun Karakus Date: Sat, 7 May 2022 12:41:20 +0300 Subject: [PATCH] style refactoring --- .../HTMLRenderers/PreRenderer/BasePreRenderer.js | 4 +--- .../HTMLEngineProvider/HTMLRenderers/PreRenderer/index.js | 7 +++++-- .../HTMLRenderers/PreRenderer/index.native.js | 4 +--- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/components/HTMLEngineProvider/HTMLRenderers/PreRenderer/BasePreRenderer.js b/src/components/HTMLEngineProvider/HTMLRenderers/PreRenderer/BasePreRenderer.js index 279d44be0189..6530ceab2519 100644 --- a/src/components/HTMLEngineProvider/HTMLRenderers/PreRenderer/BasePreRenderer.js +++ b/src/components/HTMLEngineProvider/HTMLRenderers/PreRenderer/BasePreRenderer.js @@ -14,9 +14,7 @@ const BasePreRenderer = forwardRef((props, ref) => { ref={ref} horizontal > - true} - > + true}> node.offsetWidth; diff --git a/src/components/HTMLEngineProvider/HTMLRenderers/PreRenderer/index.native.js b/src/components/HTMLEngineProvider/HTMLRenderers/PreRenderer/index.native.js index b176a288608a..0ae9457f1df0 100644 --- a/src/components/HTMLEngineProvider/HTMLRenderers/PreRenderer/index.native.js +++ b/src/components/HTMLEngineProvider/HTMLRenderers/PreRenderer/index.native.js @@ -4,10 +4,8 @@ import htmlRendererPropTypes from '../htmlRendererPropTypes'; import BasePreRenderer from './BasePreRenderer'; const PreRenderer = props => ( - + ); PreRenderer.propTypes = htmlRendererPropTypes;