Home > @pago/reactive > r
r() function
This function is a pure type-cast to avoid TypeScript from complaining when using a Reactive Function Component without wrap().
Signature:
export declare function r(render: () => JSX.Element): JSX.Element;
Parameters
| Parameter | Type | Description |
|---|---|---|
| render | () => JSX.Element | The render function of a component |
Returns:
JSX.Element