tornado-initiation-ui/components/Loading.vue
Danil Kovtonyuk 71bfdfbfec
pool
2021-10-25 19:12:11 +10:00

18 lines
374 B
Vue

<template>
<b-loading :active.sync="enabled">
<div class="loading-container">
<div class="loading-tornado"></div>
<div class="loading-message">{{ message }}...</div>
</div>
</b-loading>
</template>
<script>
import { mapState } from 'vuex'
export default {
computed: {
...mapState('loading', ['enabled', 'message', 'txHash']),
},
}
</script>