> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# Interface: ConfigFn()

> **ConfigFn**(`existingConfig`: [`Config`](/next/api/react/testing-library/Interfaces/Config.md)): `Partial`\<[`Config`](/next/api/react/testing-library/Interfaces/Config.md)>

## Parameters

| Parameter        | Type                                                             |
| ---------------- | ---------------------------------------------------------------- |
| `existingConfig` | [`Config`](/next/api/react/testing-library/Interfaces/Config.md) |

## Returns

`Partial`\<[`Config`](/next/api/react/testing-library/Interfaces/Config.md)>
