From e42f775d4a0a2cbc6a5699cec35995be3df7c17a Mon Sep 17 00:00:00 2001 From: Ashwin P Chandran Date: Sat, 9 Feb 2019 15:02:23 -0500 Subject: [PATCH] Fixed Component URLInput not honouring className Related: #13754 This pull request fixes the URIInput Component not honouring. This add the className to the parent div for the component --- packages/editor/src/components/url-input/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/editor/src/components/url-input/index.js b/packages/editor/src/components/url-input/index.js index 0d763957ce356d..db658990632e7b 100644 --- a/packages/editor/src/components/url-input/index.js +++ b/packages/editor/src/components/url-input/index.js @@ -227,11 +227,11 @@ class URLInput extends Component { } render() { - const { value = '', autoFocus = true, instanceId } = this.props; + const { value = '', autoFocus = true, instanceId, className } = this.props; const { showSuggestions, posts, selectedSuggestion, loading } = this.state; /* eslint-disable jsx-a11y/no-autofocus */ return ( -
+