react-input-emoji 5.6.3 → 5.6.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,29 +4,29 @@ export type ListenerObj = import('./types/types').ListenerObj<any>;
4
4
  export type Props = {
5
5
  value: string;
6
6
  onChange: (value: string) => void;
7
- theme: "light" | "dark" | "auto";
8
- cleanOnEnter: boolean;
9
- onEnter: (text: string) => void;
10
- placeholder: string;
11
- onResize: (size: {
7
+ theme?: ("light" | "dark" | "auto") | undefined;
8
+ cleanOnEnter?: boolean | undefined;
9
+ onEnter?: (text: string) => void;
10
+ placeholder?: string | undefined;
11
+ onResize?: (size: {
12
12
  width: number;
13
13
  height: number;
14
14
  }) => void;
15
- onClick: () => void;
16
- onFocus: () => void;
15
+ onClick?: (() => void) | undefined;
16
+ onFocus?: (() => void) | undefined;
17
17
  onBlur?: (() => void) | undefined;
18
- shouldReturn: boolean;
19
- maxLength: number;
20
- keepOpened: boolean;
21
- onKeyDown: (event: KeyboardEvent) => void;
22
- inputClass: string;
23
- disableRecent: boolean;
24
- tabIndex: number;
25
- height: number;
26
- borderRadius: number;
27
- borderColor: string;
28
- fontSize: number;
29
- fontFamily: string;
18
+ shouldReturn?: boolean | undefined;
19
+ maxLength?: number | undefined;
20
+ keepOpened?: boolean | undefined;
21
+ onKeyDown?: (event: KeyboardEvent) => void;
22
+ inputClass?: string | undefined;
23
+ disableRecent?: boolean | undefined;
24
+ tabIndex?: number | undefined;
25
+ height?: number | undefined;
26
+ borderRadius?: number | undefined;
27
+ borderColor?: string | undefined;
28
+ fontSize?: number | undefined;
29
+ fontFamily?: string | undefined;
30
30
  customEmojis?: {
31
31
  id: string;
32
32
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-input-emoji",
3
- "version": "5.6.3",
3
+ "version": "5.6.4",
4
4
  "description": "A React input with an option to add an emoji with language support.",
5
5
  "homepage": "https://cesarwbr.github.io/react-input-emoji/",
6
6
  "author": "cesarwbr",