Skip to content

Commit

Permalink
components: Remove ui/button and ui/button-group (#31205)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarayourfriend authored Apr 26, 2021
1 parent c242b60 commit 7453998
Show file tree
Hide file tree
Showing 31 changed files with 1 addition and 3,383 deletions.
3 changes: 1 addition & 2 deletions packages/components/src/button/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import { forwardRef } from '@wordpress/element';
import Tooltip from '../tooltip';
import Icon from '../icon';
import VisuallyHidden from '../visually-hidden';
import { withNextComponent } from './next';

const disabledEventsOnDisabledButton = [ 'onMouseDown', 'onClick' ];

Expand Down Expand Up @@ -164,4 +163,4 @@ export function Button( props, ref ) {
);
}

export default withNextComponent( forwardRef( Button ) );
export default forwardRef( Button );
79 changes: 0 additions & 79 deletions packages/components/src/button/next.js

This file was deleted.

166 changes: 0 additions & 166 deletions packages/components/src/ui/base-button/component.js

This file was deleted.

124 changes: 0 additions & 124 deletions packages/components/src/ui/base-button/hook.js

This file was deleted.

3 changes: 0 additions & 3 deletions packages/components/src/ui/base-button/index.js

This file was deleted.

Loading

0 comments on commit 7453998

Please sign in to comment.