nope/resources/ui/dynamic/interfaces/IDynamicRenderSettings.ts
2020-10-30 19:30:59 +01:00

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;
}