# GridTypeProviderProps

Props for the GridTypeProvider component.

## Properties

| Property | Type | Description |
| -------- | ---- | ----------- |
| `defaults` | <code><a href="/grid/react/api/types/typedefaultsmap/">TypeDefaultsMap</a></code> | Type defaults to provide to all descendant grids. |
| `children` | <code>ReactNode</code> |  |

### Property Details

#### defaults

```tsx
const typeDefaults = {
  country: {
    renderer: (ctx) => <CountryBadge value={ctx.value} />,
    editor: (ctx) => <CountrySelect value={ctx.value} onCommit={ctx.commit} />
  },
  status: {
    renderer: (ctx) => <StatusBadge value={ctx.value} />
  }
};

<GridTypeProvider defaults={typeDefaults}>
  <App />
</GridTypeProvider>
```

---
