8 lines
280 B
TypeScript
8 lines
280 B
TypeScript
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;
|
|
} |