Skip to content

Commit

Permalink
chore: move button label properties to slotted content
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 526681792
  • Loading branch information
asyncLiz authored and copybara-github committed Apr 24, 2023
1 parent e12a7f3 commit eb24edf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
4 changes: 1 addition & 3 deletions button/lib/button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,10 @@ import {pointerPress, shouldShowStrongFocus} from '../../focus/strong-focus.js';
import {ripple} from '../../ripple/directive.js';
import {MdRipple} from '../../ripple/ripple.js';

import {ButtonState} from './state.js';

/**
* A button component.
*/
export abstract class Button extends LitElement implements ButtonState {
export abstract class Button extends LitElement {
static {
requestUpdateOnAriaChange(this);
}
Expand Down
11 changes: 0 additions & 11 deletions button/lib/state.ts

This file was deleted.

0 comments on commit eb24edf

Please sign in to comment.