<template>
  <el-form-item :label="i18nt('designer.setting.closeOnPressEscape')">
    <el-switch v-model="optionModel.closeOnPressEscape"></el-switch>
  </el-form-item>
</template>

<script>
  import i18n from "../../../../../../components/xform/utils/i18n"

  export default {
    name: "closeOnPressEscape-editor",
    mixins: [i18n],
    props: {
      designer: Object,
      selectedWidget: Object,
      optionModel: Object,
    },
  }
</script>

<style>
</style>
