Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(icons): set a size prop for AtlasKit icons

Leonard Kim1897c395ec9a
diff --git a/react/features/dial-out/components/DialOutNumbersForm.web.js b/react/features/dial-out/components/DialOutNumbersForm.web.js
index 7e1e6fe4c9..46c1b518c2 100644
--- a/react/features/dial-out/components/DialOutNumbersForm.web.js
+++ b/react/features/dial-out/components/DialOutNumbersForm.web.js
@@ -23,13 +23,6 @@ const DEFAULT_COUNTRY = {
name: 'United States'
};
-/**
- * The expand icon of the dropdown menu.
- *
- * @type {ReactElement}
- */
-const EXPAND_ICON = <ExpandIcon label = 'expand' />;
-
/**
* React {@code Component} responsible for fetching and displaying dial-out
* country codes, as well as dialing a phone number.
@@ -208,7 +201,9 @@ class DialOutNumbersForm extends Component {
type = 'text'
value = { dialCode || '' } />
<span className = 'dropdown-trigger-icon'>
- { EXPAND_ICON }
+ <ExpandIcon
+ label = 'expand'
+ size = 'medium' />
</span>
</div>
);
diff --git a/react/features/invite/components/DialInNumbersForm.js b/react/features/invite/components/DialInNumbersForm.js
index 258981bc6a..b5f439d68b 100644
--- a/react/features/invite/components/DialInNumbersForm.js
+++ b/react/features/invite/components/DialInNumbersForm.js
@@ -210,7 +210,9 @@ class DialInNumbersForm extends Component {
type = 'text'
value = { triggerText || '' } />
<span className = 'dial-in-numbers-trigger-icon'>
- <ExpandIcon label = 'expand' />
+ <ExpandIcon
+ label = 'expand'
+ size = 'medium' />
</span>
</div>
);