UNPKG

445 BTypeScriptView Raw
1import type { Renderable } from '@instructure/shared-types';
2/**
3 * ---
4 * category: utilities/react
5 * ---
6 * Evaluate a provided value to create a renderable React element.
7 * @module callRenderProp
8 * @param value
9 * @param props
10 */
11declare function callRenderProp<P extends Record<string, unknown>>(value: Renderable<P>, props?: P): any;
12export default callRenderProp;
13export { callRenderProp };
14//# sourceMappingURL=callRenderProp.d.ts.map
\No newline at end of file