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

@ -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>