react-language-combobox 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -68,10 +68,10 @@ The component accepts a `LanguageComboBoxProperties` object with these fields:
68
68
  - `languageChanged?: (lng: string) => void` — callback invoked when user selects a language.
69
69
  - `showFlags?: boolean` — when true, shows flag icons next to languages (default: `true`).
70
70
  - nameDisplayMode: NameDisplayMode — (Required) Defines how language names are rendered:
71
- -- 'english': Always show names in English (e.g., "German").
72
- -- 'native': Show each language in its own script (e.g., "Deutsch").
73
- -- 'current': Show names in the currently selected language.
74
- -- 'abbreviation': Show the ISO code (e.g., "DE").
71
+ - 'english': Always show names in English (e.g., "German").
72
+ - 'native': Show each language in its own script (e.g., "Deutsch").
73
+ - 'current': Show names in the currently selected language.
74
+ - 'abbreviation': Show the ISO code (e.g., "DE").
75
75
  - `theme?: LanguageComboBoxTheme` — override default classes for styling. See below.
76
76
  - `showSearchBox: boolean` — Enables a search filter inside the dropdown.
77
77
  - `searchBoxPlaceholder : string` — placeholder of the search box.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-language-combobox",
3
3
  "private": false,
4
- "version": "2.0.0",
4
+ "version": "2.0.1",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",