emoji-picker-react 3.4.8 → 3.4.12
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.
- package/README.md +15 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/main.css +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -70,7 +70,7 @@ const App = () => {
|
|
|
70
70
|
| `disableAutoFocus` | `boolean` | `false` | No | Disables autofocus of the search bar. Useful for safari-iphone devices which zoom in to focused inputs. |
|
|
71
71
|
| `disableSearchBar` | `boolean` | `false` | No | Disables the search bar and the skin tone picker altogether. |
|
|
72
72
|
| `disableSkinTonePicker` | `boolean` | `false` | No | Disables the skin tone picker. |
|
|
73
|
-
| `pickerStyle` | `
|
|
73
|
+
| `pickerStyle` | `Object` | `undefined` | No | Overrides style of the component. |
|
|
74
74
|
| `groupNames` | `Object` | `undefined` | No | Specifies alternative category names to use. See Internationalization section. |
|
|
75
75
|
| `groupVisibility` | `Object` | `undefined` | No | Specifies group names to be disabled. |
|
|
76
76
|
| `native` | `Boolean` | `false` | No | Loads system emojis instead of Apple Emoji pngs |
|
|
@@ -205,3 +205,17 @@ The complete list of keys is:
|
|
|
205
205
|
## UI Customizations
|
|
206
206
|
|
|
207
207
|
In general, UI customizations can be done directly via CSS. Descriptive classnames were added in order for you to be able to easily target whatever it is you want to change, and the markup is guaranteed to stay unchanged until the next major version (4).
|
|
208
|
+
|
|
209
|
+
# Troubleshooting
|
|
210
|
+
|
|
211
|
+
## How to use in Vite project
|
|
212
|
+
|
|
213
|
+
For reference, if you only need to shim global, you can add
|
|
214
|
+
|
|
215
|
+
```html
|
|
216
|
+
<script>
|
|
217
|
+
window.global = window;
|
|
218
|
+
</script>
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
to your index.html
|