nope/resources/ui/dynamic/interfaces/IDynamicRenderSettings.ts

8 lines
280 B
TypeScript
Raw Normal View History

2020-10-30 18:30:59 +00:00
import { COMPONENTS } from '../components'
2020-10-29 18:20:42 +00:00
export interface IDynamicRenderSettings{
2020-10-30 18:30:59 +00:00
component: keyof COMPONENTS | React.Component | React.FunctionComponent | ((...args) => JSX.Element),
2020-10-29 18:20:42 +00:00
props: {[index: string]: any}
2020-10-30 18:30:59 +00:00
onMount?: () => void;
onUnmount?: () => void;
2020-10-29 18:20:42 +00:00
}