import { createComponent } from '@meta-ui/core';
import { useEffect } from 'react';
const Dummy = ({ effects }) => {
    useEffect(() => {
        return () => {
            effects === null || effects === void 0 ? void 0 : effects.forEach(e => e());
        };
    }, []);
    return null;
};
export default Object.assign(Object.assign({}, createComponent({
    version: 'core/v1',
    metadata: {
        name: 'dummy',
        displayName: 'Dummy',
        description: 'Dummy Invisible component',
        isDraggable: false,
        isResizable: false,
        exampleProperties: {},
        exampleSize: [1, 1],
    },
    spec: {
        properties: {},
        state: {},
        methods: [],
        slots: [],
        styleSlots: [],
        events: [],
    },
})), { impl: Dummy });
//# sourceMappingURL=Dummy.js.map