8 lines
254 B
TypeScript
8 lines
254 B
TypeScript
import type { JSXElement } from './jsx';
|
|
/**
|
|
* Render function interface for providing overrideable render callbacks.
|
|
*
|
|
* @public
|
|
*/
|
|
export type IRenderFunction<P> = (props?: P, defaultRender?: (props?: P) => JSXElement | null) => JSXElement | null;
|