mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(react/vue): properly switch ionicon based on the mode when ios/md is set (#26924)
closes #26207
This commit is contained in:
@@ -87,6 +87,30 @@
|
||||
</ion-label>
|
||||
</ion-item>
|
||||
|
||||
<ion-item>
|
||||
<ion-icon slot="start" ios="star-outline" md="star"></ion-icon>
|
||||
<ion-label>
|
||||
<p>ios: star outline</p>
|
||||
<p>md: star</p>
|
||||
</ion-label>
|
||||
</ion-item>
|
||||
<ion-item>
|
||||
<ion-icon slot="start" mode="ios" ios="star-outline" md="star"></ion-icon>
|
||||
<ion-label>
|
||||
<h3>mode: ios</h3>
|
||||
<p>ios: star outline</p>
|
||||
<p>md: star</p>
|
||||
</ion-label>
|
||||
</ion-item>
|
||||
<ion-item>
|
||||
<ion-icon slot="start" mode="md" ios="star-outline" md="star"></ion-icon>
|
||||
<ion-label>
|
||||
<h3>mode: md</h3>
|
||||
<p>ios: star outline</p>
|
||||
<p>md: star</p>
|
||||
</ion-label>
|
||||
</ion-item>
|
||||
|
||||
<ion-item detail="true">
|
||||
<ion-label>
|
||||
<code> ion-item w/ [detail="true"] attr. text text text text text text </code>
|
||||
|
||||
Reference in New Issue
Block a user