2020-04-30 14:21:43 +02:00
|
|
|
<template>
|
2021-10-20 14:00:24 +02:00
|
|
|
<ui-toggle :value="value" @input="$emit('input', $event)" v-bind="{ disabled, negative, onContent, offContent }" />
|
2020-04-30 14:21:43 +02:00
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
export default {
|
2020-04-30 15:35:09 +02:00
|
|
|
props: {
|
2020-10-20 13:27:17 +02:00
|
|
|
value: Boolean,
|
|
|
|
|
disabled: Boolean,
|
2021-10-20 14:00:24 +02:00
|
|
|
negative: Boolean,
|
|
|
|
|
onContent: String,
|
|
|
|
|
offContent: String
|
2020-04-30 15:35:09 +02:00
|
|
|
}
|
2020-04-30 14:21:43 +02:00
|
|
|
}
|
|
|
|
|
</script>
|