# MasterDetailConfig

> _Since v1.8.2_

Master-detail config widened to accept a React `detailRenderer`
`(row, rowIndex) => ReactNode` in addition to the vanilla
`(row, rowIndex) => HTMLElement | string` signature. Bridging to vanilla
DOM is handled by the side-effect import
`@toolbox-web/grid-react/features/master-detail`.

Re-exported under the same name as the core type so React users see a
single canonical `MasterDetailConfig` from `@toolbox-web/grid-react`.

```ts
type MasterDetailConfig = Omit<CoreMasterDetailConfig, "detailRenderer"> & object
```
