diff options
author | Derick Montague <derick.montague@ibm.com> | 2020-03-13 00:49:55 +0300 |
---|---|---|
committer | Derick Montague <derick.montague@ibm.com> | 2020-03-13 00:49:55 +0300 |
commit | 7223a9fb310ab2f5665b7247d8f24144cbacbede (patch) | |
tree | f75f2b6cdb1df7f1dc64a421cf60c34e02e7cbe0 /src/components/Global/Alert.vue | |
parent | 71650fff20c0ad29eb05d770736386863324b64e (diff) | |
download | webui-vue-7223a9fb310ab2f5665b7247d8f24144cbacbede.tar.xz |
Revert "Add alert message component and documentation"
This reverts commit 71650fff20c0ad29eb05d770736386863324b64e.
Reason for revert: Found an issue with Sass loader when compiling docs that needs to be addressed.
Change-Id: Icdd1243665f60849bfb341594452687fcdaeebe2
Diffstat (limited to 'src/components/Global/Alert.vue')
-rw-r--r-- | src/components/Global/Alert.vue | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/components/Global/Alert.vue b/src/components/Global/Alert.vue deleted file mode 100644 index bc65b6e9..00000000 --- a/src/components/Global/Alert.vue +++ /dev/null @@ -1,33 +0,0 @@ -<template> - <b-alert :show="show" :variant="variant"> - <div v-if="variant == 'warning' || variant == 'danger'" class="alert-icon"> - <status-icon :status="variant" /> - </div> - <div class="alert-content"> - <div class="alert-msg"><slot /></div> - </div> - </b-alert> -</template> - -<script> -import StatusIcon from '../Global/StatusIcon'; -import { BAlert } from 'bootstrap-vue'; - -export default { - name: 'Alert', - components: { - BAlert: BAlert, - StatusIcon: StatusIcon - }, - props: { - show: { - type: Boolean, - default: true - }, - variant: { - type: String, - default: '' - } - } -}; -</script> |