import { defineComponent, PropType } from 'vue'; interface MarkerProps { id: string; } const Marker = defineComponent({ props: { id: { type: String as PropType, required: true } }, setup(props, { slots }) { return () => ( {slots.default ? slots.default() : ''} ); } }); interface MarkerDefinitionsProps { color: string; } const MarkerDefinitions = defineComponent({ name: 'MarkerDefinitions', props: { color: { type: String as PropType, required: true } }, setup(props) { return () => ( ); } }); export default MarkerDefinitions;