import { defineComponent, computed, } from '@vue/composition-api'; import './Modal.scss'; interface ModalProps { open: boolean; eventClose: () => void; } export default defineComponent({ name: 'sb-modal', props: { open: { type: Boolean, default: false, }, eventClose: { type: Function, default: () => {} }, }, setup(props: ModalProps, context) { const classes = computed(() => ({ 'sb-modal': true, 'sb-modal_open': props.open, })); return () => (