mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-06 12:17:13 +08:00
feat(message): add class to distinguish type (#882)
This commit is contained in:
parent
3d7f96dd00
commit
3cf31305b2
@ -130,7 +130,7 @@ export default defineComponent({
|
||||
: 'flex-end'
|
||||
}}
|
||||
>
|
||||
<div class={`${mergedClsPrefix}-message`}>
|
||||
<div class={`${mergedClsPrefix}-message ${mergedClsPrefix}-message--${type}-type`}>
|
||||
<div
|
||||
class={`${mergedClsPrefix}-message__icon ${mergedClsPrefix}-message__icon--${type}-type`}
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user