style(components): don't self close slot tags

This commit is contained in:
Brandy Carney
2018-07-11 11:48:41 -04:00
parent f6ab5b69ac
commit 02a0b6e5fe
4 changed files with 7 additions and 7 deletions

View File

@ -44,12 +44,12 @@ export class ItemDivider {
render() {
return [
<slot name="start" />,
<slot name="start"></slot>,
<div class="item-divider-inner">
<div class="item-divider-wrapper">
<slot></slot>
</div>
<slot name="end" />
<slot name="end"></slot>
</div>
];
}

View File

@ -66,12 +66,12 @@ export class ItemOption {
onClick={this.clickedOptionButton.bind(this)}
>
<span class="item-option-button-inner">
<slot name="start" />
<slot name="start"></slot>
<slot name="top" />
<slot name="icon-only" />
<slot></slot>
<slot name="bottom" />
<slot name="end" />
<slot name="end"></slot>
</span>
</TagType>
);

View File

@ -144,7 +144,7 @@ export class Item {
class="item-native"
onClick={ev => openURL(win, href, ev, routerDirection)}
>
<slot name="start" />
<slot name="start"></slot>
<div class="item-inner">
<div class="input-wrapper">
<slot></slot>

View File

@ -335,7 +335,7 @@ export class Range implements BaseInput {
}
return [
<slot name="start" />,
<slot name="start"></slot>,
<ion-gesture
disableScroll={true}
onStart={this.onDragStart.bind(this)}
@ -391,7 +391,7 @@ export class Range implements BaseInput {
)}
</div>
</ion-gesture>,
<slot name="end" />
<slot name="end"></slot>
];
}
}