From b94e2ba1ae5480782c4dc4e1bee0452879b8554b Mon Sep 17 00:00:00 2001 From: Rajat Parashar Date: Sat, 24 Apr 2021 00:27:47 +0530 Subject: [PATCH] fix props for inline code block --- src/components/InlineCodeBlock/WrappedText.js | 4 ++-- src/components/InlineCodeBlock/index.native.js | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/InlineCodeBlock/WrappedText.js b/src/components/InlineCodeBlock/WrappedText.js index 31d4b828fb4c..e42a93c79ec8 100644 --- a/src/components/InlineCodeBlock/WrappedText.js +++ b/src/components/InlineCodeBlock/WrappedText.js @@ -31,8 +31,8 @@ const propTypes = { }; const defaultProps = { - textStyles: {}, - wordStyles: {}, + textStyles: [], + wordStyles: [], }; const WrappedText = (props) => { diff --git a/src/components/InlineCodeBlock/index.native.js b/src/components/InlineCodeBlock/index.native.js index c51ff4ddc52f..b8f71b680a4f 100644 --- a/src/components/InlineCodeBlock/index.native.js +++ b/src/components/InlineCodeBlock/index.native.js @@ -9,11 +9,11 @@ const InlineCodeBlock = ({ textStyle, }) => (