# CustomRenderFunction

Canonical page: https://www.adaptabletools.com/docs/reference/customrenderfunction

Function which is called when rendering/destroying a custom framework-agnostic component

```ts title="TypeScript"
export interface CustomRenderFunction 
```

## Calls

```ts title="TypeScript"
(customRenderContext: CustomRenderContext): string | null;
```

###### Parameters

| Parameter | Type |
| --- | --- |
| customRenderContext | [`CustomRenderContext`](https://www.adaptabletools.com/docs/reference/customrendercontext.md) |

###### Returns

`string | null`
