mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-12 02:21:06 +03:30
36 lines
517 B
Vue
36 lines
517 B
Vue
<template>
|
|
<v-alert
|
|
v-bind="$attrs"
|
|
:class="[`elevation-${elevation}`]"
|
|
:value="value"
|
|
class="v-alert--notification"
|
|
v-on="$listeners"
|
|
>
|
|
<slot />
|
|
</v-alert>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
inheritAttrs: false,
|
|
|
|
props: {
|
|
elevation: {
|
|
type: [Number, String],
|
|
default: 6
|
|
},
|
|
value: {
|
|
type: Boolean,
|
|
default: true
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
.v-alert--notification {
|
|
border-radius: 4px !important;
|
|
border-top: none !important;
|
|
}
|
|
</style>
|