react-input-emoji 5.6.11 → 5.7.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +42 -26
- package/dist/index.es.js +22 -5
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +21 -4
- package/dist/index.js.map +1 -1
- package/dist/src/index.d.ts +2 -0
- package/dist/src/text-input.d.ts +8 -1
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
@@ -8,6 +8,7 @@ export type Props = {
|
|
8
8
|
cleanOnEnter?: boolean | undefined;
|
9
9
|
onEnter?: (text: string) => void;
|
10
10
|
placeholder?: string | undefined;
|
11
|
+
placeholderColor?: string | undefined;
|
11
12
|
onResize?: (size: {
|
12
13
|
width: number;
|
13
14
|
height: number;
|
@@ -27,6 +28,7 @@ export type Props = {
|
|
27
28
|
borderColor?: string | undefined;
|
28
29
|
fontSize?: number | undefined;
|
29
30
|
fontFamily?: string | undefined;
|
31
|
+
background?: string | undefined;
|
30
32
|
customEmojis?: {
|
31
33
|
id: string;
|
32
34
|
name: string;
|
package/dist/src/text-input.d.ts
CHANGED
@@ -12,7 +12,14 @@ 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
|
+
borderColor?: string;
|
18
|
+
fontSize?: number;
|
19
|
+
fontFamily?: string;
|
20
|
+
background: string;
|
21
|
+
placeholderColor?: string;
|
22
|
+
};
|
16
23
|
tabIndex: number;
|
17
24
|
className: string;
|
18
25
|
};
|
package/package.json
CHANGED