# useTypeDefault

Hook to get type defaults for a specific type.

```ts
useTypeDefault(type: string): TypeDefault<TRow, TValue> | undefined
```

## Parameters

| Name | Type | Description |
| ---- | ---- | ----------- |
| `type` | <code>string</code> | The type name to look up |

## Returns

`TypeDefault<TRow, TValue> | undefined` - The type defaults, or undefined if not found

#### Example

```tsx
function MyComponent() {
  const countryDefaults = useTypeDefault('country');
  // countryDefaults?.renderer, countryDefaults?.editor
}
```
