react-input-emoji 5.6.11 → 5.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,6 +8,8 @@ export type Props = {
8
8
  cleanOnEnter?: boolean | undefined;
9
9
  onEnter?: (text: string) => void;
10
10
  placeholder?: string | undefined;
11
+ placeholderColor?: string | undefined;
12
+ color?: string | undefined;
11
13
  onResize?: (size: {
12
14
  width: number;
13
15
  height: number;
@@ -27,6 +29,7 @@ export type Props = {
27
29
  borderColor?: string | undefined;
28
30
  fontSize?: number | undefined;
29
31
  fontFamily?: string | undefined;
32
+ background?: string | undefined;
30
33
  customEmojis?: {
31
34
  id: string;
32
35
  name: string;
@@ -12,7 +12,15 @@ export type Props = {
12
12
  onCopy: (event: React.ClipboardEvent) => void;
13
13
  onPaste: (event: React.ClipboardEvent) => void;
14
14
  placeholder: string;
15
- style: React.CSSProperties;
15
+ style: {
16
+ borderRadius?: number;
17
+ color?: string;
18
+ borderColor?: string;
19
+ fontSize?: number;
20
+ fontFamily?: string;
21
+ background: string;
22
+ placeholderColor?: string;
23
+ };
16
24
  tabIndex: number;
17
25
  className: string;
18
26
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-input-emoji",
3
- "version": "5.6.11",
3
+ "version": "5.7.1",
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",