Files
mixtape/zero.Backoffice.UI/app/editor/fields/toggle.vue
T
2021-12-09 10:51:10 +01:00

16 lines
344 B
Vue

<template>
<ui-toggle :model-value="modelValue" @input="$emit('input', $event)" v-bind="{ disabled, negative, onContent, offContent }" />
</template>
<script>
export default {
props: {
modelValue: Boolean,
disabled: Boolean,
negative: Boolean,
onContent: String,
offContent: String
}
}
</script>