node_modules updated, buefy add to lib folder
This commit is contained in:
+43
@@ -0,0 +1,43 @@
|
||||
<template>
|
||||
<transition name="fade">
|
||||
<article
|
||||
v-show="isActive"
|
||||
class="notification"
|
||||
:class="[type, position]">
|
||||
<button
|
||||
v-if="closable"
|
||||
class="delete"
|
||||
type="button"
|
||||
@click="close"
|
||||
:aria-label="ariaCloseLabel"
|
||||
/>
|
||||
<div class="media">
|
||||
<div v-if="icon && hasIcon" class="media-left">
|
||||
<b-icon
|
||||
:icon="icon"
|
||||
:pack="iconPack"
|
||||
both
|
||||
size="is-large"
|
||||
aria-hidden/>
|
||||
</div>
|
||||
<div class="media-content">
|
||||
<p class="text" v-if="message">{{ message }}</p>
|
||||
<slot v-else/>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</transition>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import MessageMixin from '../../utils/MessageMixin.js'
|
||||
|
||||
export default {
|
||||
name: 'BNotification',
|
||||
mixins: [MessageMixin],
|
||||
props: {
|
||||
position: String,
|
||||
ariaCloseLabel: String
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user