diff --git a/docs/content/2.components/message.md b/docs/content/2.components/message.md index 6e1e772..6e85571 100644 --- a/docs/content/2.components/message.md +++ b/docs/content/2.components/message.md @@ -48,6 +48,20 @@ props: --- :: +### Icon + +Or you can use the `icon` prop to change the icon of the message. + +::ComponentPreview +--- +privateProps: + content: Thanks for activating +props: + icon: tabler:circle-key +--- +:: + + ### Color Use the `color` prop to change the color of the message. diff --git a/src/runtime/components/overlays/Message.vue b/src/runtime/components/overlays/Message.vue index e116892..4510789 100644 --- a/src/runtime/components/overlays/Message.vue +++ b/src/runtime/components/overlays/Message.vue @@ -1,5 +1,5 @@