mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Tokens for inline message
This commit is contained in:
parent
a8c70f981d
commit
d2101b6829
6 changed files with 73 additions and 48 deletions
|
@ -3,9 +3,9 @@
|
|||
<slot name="icon">
|
||||
<component :is="icon ? 'span' : iconComponent" :class="cx('icon')" v-bind="ptm('icon')"></component>
|
||||
</slot>
|
||||
<span :class="cx('text')" v-bind="ptm('text')">
|
||||
<slot> </slot>
|
||||
</span>
|
||||
<div v-if="$slots.default" :class="cx('text')" v-bind="ptm('text')">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue