chore(button): remove unreleased parts support (#21111)

This commit is contained in:
Liam DeBeasi
2020-04-23 12:23:48 -04:00
committed by GitHub
parent 50bc212d0b
commit 0a33a095f1

View File

@ -13,9 +13,6 @@ import { createColorClasses, hostContext, openURL } from '../../utils/theme';
* @slot icon-only - Should be used on an icon in a button that has no text.
* @slot start - Content is placed to the left of the button text in LTR, and to the right in RTL.
* @slot end - Content is placed to the right of the button text in LTR, and to the left in RTL.
*
* @TODOpart button - The native button or anchor tag that is rendered.
* @TODOpart button-inner - The span inside of the native button or anchor.
*/
@Component({
tag: 'ion-button',
@ -222,9 +219,8 @@ export class Button implements ComponentInterface, AnchorInterface, ButtonInterf
disabled={disabled}
onFocus={this.onFocus}
onBlur={this.onBlur}
part="button"
>
<span class="button-inner" part="button-inner">
<span class="button-inner">
<slot name="icon-only"></slot>
<slot name="start"></slot>
<slot></slot>