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.
- package/README.md +43 -26
- package/dist/index.es.js +37 -6
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +36 -5
- package/dist/index.js.map +1 -1
- package/dist/src/index.d.ts +3 -0
- package/dist/src/text-input.d.ts +9 -1
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
@@ -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;
|
package/dist/src/text-input.d.ts
CHANGED
@@ -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:
|
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