From 3f0e50a9cd17292dd4561ee70936468bfc5db2d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Mon, 1 Aug 2022 10:03:09 +0200 Subject: [PATCH] fix(base) drop old button implementation --- .../base/react/components/web/Button.js | 41 ------------------- .../base/react/components/web/index.js | 1 - 2 files changed, 42 deletions(-) delete mode 100644 react/features/base/react/components/web/Button.js 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 { - /** - * Implements React's {@link Component#render()}. - * - * @inheritdoc - * @returns {ReactElement} - */ - render() { - const { onValueChange } = this.props; - - return ( - - ); - } -} 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';