import React from 'react'; import { Modal } from 'soapbox/components/ui'; interface IComponentModal { onClose: (type?: string) => void component: React.ComponentType<{ onClose: (type?: string) => void }> componentProps: Record } const ComponentModal: React.FC = ({ onClose, component: Component, componentProps = {} }) => ( ); export default ComponentModal;