# LocaleProviderProps (@salmonui/core/locale)

> The LocaleProviderProps interface of @salmonui/core/locale.

Canonical: https://salmonui.dev/docs/reference/core/locale/LocaleProviderProps

```ts
import type { LocaleProviderProps } from '@salmonui/core/locale';
```

Entry index: https://salmonui.dev/docs/reference/core/locale (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/core/locale.md).

## Reference

Kind: interface

```ts
interface LocaleProviderProps {
    readonly locale?: string | undefined;
    readonly localeText?: LocaleCatalog | undefined;
    readonly children?: ReactNode;
}
```

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `locale` | `readonly locale?: string \| undefined;` | optional | BCP 47 locale for dates, numbers and plural rules of every component below. Default: the outer provider's. |
| `localeText` | `readonly localeText?: LocaleCatalog \| undefined;` | optional | Per-family `localeText` defaults. Merged over the outer provider's, key by key. |
| `children` | `readonly children?: ReactNode;` | optional |  |
