You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
635 B
33 lines
635 B
<template>
|
|
<popup :on-close="callback">
|
|
<h2>{{title}}</h2>
|
|
<p>{{question}}</p>
|
|
<textbtn :text="action" @click.native="callback(true)"/>
|
|
<textbtn text="Cancel" @click.native="callback(false)" class="outline"/>
|
|
</popup>
|
|
</template>
|
|
|
|
<script>
|
|
import textbtn from '@/components/layout/textbtn';
|
|
import popup from '@/components/layout/popup';
|
|
|
|
export default {
|
|
name: 'popupQuestion',
|
|
components: {
|
|
textbtn,
|
|
popup
|
|
},
|
|
props:{
|
|
title: String,
|
|
question: String,
|
|
callback: Function,
|
|
action: {
|
|
type: String,
|
|
default: 'Apply'
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
</style> |