import { COMPONENTS } from '../components' export interface IDynamicRenderSettings{ component: keyof COMPONENTS | React.Component | React.FunctionComponent | ((...args) => JSX.Element), props: {[index: string]: any} onMount?: () => void; onUnmount?: () => void; }