docs(label): update usage to place text-wrap on label (#17705)

closes ionic-team/ionic-docs#467
This commit is contained in:
Brandy Carney
2019-03-07 11:11:56 -05:00
committed by GitHub
parent 7e6d511969
commit bd38f26f9c
7 changed files with 19 additions and 19 deletions

View File

@ -84,8 +84,8 @@
<ion-button slot="end">button</ion-button>
</ion-item-divider>
<ion-item text-wrap class="custom-item">
<ion-label>
<ion-item class="custom-item">
<ion-label text-wrap>
Multiline text that should wrap when it is too long to fit on one line in the item. Attribute on .item
</ion-label>
</ion-item>
@ -108,7 +108,7 @@
</ion-label>
</ion-item-divider>
<ion-item text-wrap>
<ion-item>
<ion-label>
<h1>H1 Title Text</h1>
</ion-label>

View File

@ -64,7 +64,7 @@
<ion-item>
<ion-label text-wrap>
Multiline text that should wrap when it is too long to fit on one line in the item. Attribute on .item
Multiline text that should wrap when it is too long to fit on one line in the item. Attribute on ion-label
</ion-label>
</ion-item>

View File

@ -26,8 +26,8 @@ Label is a wrapper element that can be used in combination with `ion-item`, `ion
<ion-label>Default Item</ion-label>
</ion-item>
<ion-item text-wrap>
<ion-label>
<ion-item>
<ion-label text-wrap>
Multi-line text that should wrap when it is too long
to fit on one line in the item.
</ion-label>
@ -90,8 +90,8 @@ const Example: React.SFC<{}> = () => (
<IonLabel>Default Item</IonLabel>
</IonItem>
<IonItem text-wrap>
<IonLabel>
<IonItem>
<IonLabel text-wrap>
Multi-line text that should wrap when it is too long
to fit on one line in the item.
</IonLabel>
@ -153,8 +153,8 @@ export default Example;
<ion-label>Default Item</ion-label>
</ion-item>
<ion-item text-wrap>
<ion-label>
<ion-item>
<ion-label text-wrap>
Multi-line text that should wrap when it is too long
to fit on one line in the item.
</ion-label>

View File

@ -14,8 +14,8 @@
<ion-label>Default Item</ion-label>
</ion-item>
<ion-item text-wrap>
<ion-label>
<ion-item>
<ion-label text-wrap>
Multi-line text that should wrap when it is too long
to fit on one line in the item.
</ion-label>

View File

@ -14,8 +14,8 @@
<ion-label>Default Item</ion-label>
</ion-item>
<ion-item text-wrap>
<ion-label>
<ion-item>
<ion-label text-wrap>
Multi-line text that should wrap when it is too long
to fit on one line in the item.
</ion-label>

View File

@ -20,8 +20,8 @@ const Example: React.SFC<{}> = () => (
<IonLabel>Default Item</IonLabel>
</IonItem>
<IonItem text-wrap>
<IonLabel>
<IonItem>
<IonLabel text-wrap>
Multi-line text that should wrap when it is too long
to fit on one line in the item.
</IonLabel>

View File

@ -15,8 +15,8 @@
<ion-label>Default Item</ion-label>
</ion-item>
<ion-item text-wrap>
<ion-label>
<ion-item>
<ion-label text-wrap>
Multi-line text that should wrap when it is too long
to fit on one line in the item.
</ion-label>