fix(base) drop old button implementation

This commit is contained in:
Saúl Ibarra Corretgé 2022-08-01 10:03:09 +02:00 committed by Saúl Ibarra Corretgé
parent d63e0c5ab6
commit 3f0e50a9cd
2 changed files with 0 additions and 42 deletions

View File

@ -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>
);
}
}

View File

@ -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';