9 lines
224 B
TypeScript
9 lines
224 B
TypeScript
|
/**
|
||
|
* Render function interface for providing overrideable render callbacks.
|
||
|
*
|
||
|
* @public
|
||
|
*/
|
||
|
export interface IRenderFunction<P> {
|
||
|
(props?: P, defaultRender?: (props?: P) => JSX.Element | null): JSX.Element | null;
|
||
|
}
|