Files
mixtape/zero.Backoffice.UI/app/editor/fields/toggle.vue
T
2021-12-14 14:21:48 +01:00

16 lines
329 B
Vue

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