[hub][vue] add empty state and dynamic publish button

This commit is contained in:
Prateeksha Singh
2018-08-23 21:25:53 +05:30
parent d7d2bb261b
commit b696b2965d
6 changed files with 116 additions and 8 deletions

View File

@@ -0,0 +1,23 @@
<template>
<div class="empty-state flex align-center flex-column justify-center"
:class="{ bordered: bordered }"
:style="{ height: height + 'px' }"
>
<p class="text-muted">{{ message }}</p>
</div>
</template>
<script>
export default {
name: 'empty-state',
props: {
message: String,
bordered: Boolean,
height: Number,
// action: Function
}
}
</script>
<style scoped></style>