mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 15:51:16 +08:00
docs(react): update class usage to className (#20366)
This commit is contained in:
@ -90,7 +90,7 @@ export const LabelExample: React.FC = () => (
|
||||
</IonItem>
|
||||
|
||||
<IonItem>
|
||||
<IonLabel class="ion-text-wrap">
|
||||
<IonLabel className="ion-text-wrap">
|
||||
Multi-line text that should wrap when it is too long
|
||||
to fit on one line in the item.
|
||||
</IonLabel>
|
||||
|
||||
@ -20,7 +20,7 @@ export const LabelExample: React.FC = () => (
|
||||
</IonItem>
|
||||
|
||||
<IonItem>
|
||||
<IonLabel class="ion-text-wrap">
|
||||
<IonLabel className="ion-text-wrap">
|
||||
Multi-line text that should wrap when it is too long
|
||||
to fit on one line in the item.
|
||||
</IonLabel>
|
||||
|
||||
Reference in New Issue
Block a user