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