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(base) drop old button implementation

Saúl Ibarra Corretgé3f0e50a9cd17
diff --git a/react/features/base/react/components/web/Button.js b/react/features/base/react/components/web/Button.js
deleted file mode 100644
index f677826dba..0000000000
--- a/react/features/base/react/components/web/Button.js
+++ /dev/null
@@ -1,41 +0,0 @@
-/* @flow */
-
-import Button from '@atlaskit/button/standard-button';
-import React, { Component } from 'react';
-
-type Props = {
-
- /**
- * React Elements to display within the component.
- */
- children: React$Node | Object,
-
- /**
- * Handler called when the user presses the button.
- */
- onValueChange: Function
-};
-
-/**
- * Renders a button.
- */
-export default class ButtonImpl extends Component<Props> {
- /**
- * Implements React's {@link Component#render()}.
- *
- * @inheritdoc
- * @returns {ReactElement}
- */
- render() {
- const { onValueChange } = this.props;
-
- return (
- <Button
- appearance = 'primary'
- onClick = { onValueChange }
- type = 'button'>
- { this.props.children }
- </Button>
- );
- }
-}
diff --git a/react/features/base/react/components/web/index.js b/react/features/base/react/components/web/index.js
index 7306381a66..4d47f0e8e5 100644
--- a/react/features/base/react/components/web/index.js
+++ b/react/features/base/react/components/web/index.js
@@ -1,7 +1,6 @@
// @flow
export { default as BaseIndicator } from './BaseIndicator';
-export { default as Button } from './Button';
export { default as Container } from './Container';
export { default as Image } from './Image';
export { default as Linkify } from './Linkify';