Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
feat(LoadingIndicator): Implementation for web.
hristoterezova49e590e7c54
diff --git a/react/features/base/react/components/native/LoadingIndicator.js b/react/features/base/react/components/native/LoadingIndicator.jsindex 2cd2359e62..08085e2c92 100644--- a/react/features/base/react/components/native/LoadingIndicator.js+++ b/react/features/base/react/components/native/LoadingIndicator.js@@ -11,7 +11,7 @@ type Props = {* Prop to set the size of the indicator. This is the same as the* prop of the native component.*/- size: 'large' | 'small'+ size: 'large' | 'medium' | 'small'};/**@@ -27,12 +27,25 @@ export default class LoadingIndicator extends Component<Props> {* @returns {ReactElement}*/render() {- return (+ let { size = 'large' } = this.props;++ if (size === 'medium') {+ size = 'large';+ }++ const props = {+ animating: true,+ color: ColorPalette.white,+ ...this.props,+ size+ };++ return (// $FlowFixMe<ActivityIndicatoranimating = { true }color = { ColorPalette.white }- size = { this.props.size || 'large' }- { ...this.props } />+ { ...props }+ size = { size } />);}}diff --git a/react/features/base/react/components/web/LoadingIndicator.js b/react/features/base/react/components/web/LoadingIndicator.jsnew file mode 100644index 0000000000..0ae9c2e3ae--- /dev/null+++ b/react/features/base/react/components/web/LoadingIndicator.js@@ -0,0 +1,3 @@+/* @flow */++export { default } from '@atlaskit/spinner';diff --git a/react/features/base/react/components/web/index.js b/react/features/base/react/components/web/index.jsindex a6ab98d669..90e8921313 100644--- a/react/features/base/react/components/web/index.js+++ b/react/features/base/react/components/web/index.js@@ -1,4 +1,5 @@export { default as Container } from './Container';+export { default as LoadingIndicator } from './LoadingIndicator';export { default as MultiSelectAutocomplete } from './MultiSelectAutocomplete';export { default as NavigateSectionListEmptyComponent } from'./NavigateSectionListEmptyComponent';