@livechat/design-system-react-components 1.23.0 → 1.23.1
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.
|
@@ -1,16 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Renders given element on the left of element
|
|
5
|
-
*/
|
|
6
|
-
leftNode?: React.ReactNode;
|
|
7
|
-
/**
|
|
8
|
-
* Renders given element on the right of element
|
|
9
|
-
*/
|
|
10
|
-
rightNode?: React.ReactNode;
|
|
11
|
-
/**
|
|
12
|
-
* Specify the kind of menu item
|
|
13
|
-
*/
|
|
14
|
-
kind?: 'warning' | undefined;
|
|
15
|
-
}
|
|
2
|
+
import { ActionMenuItemProps } from './types';
|
|
16
3
|
export declare const ActionMenuItem: React.FC<React.PropsWithChildren<ActionMenuItemProps>>;
|
|
@@ -64,3 +64,17 @@ export interface IActionMenuProps extends ComponentCoreProps {
|
|
|
64
64
|
*/
|
|
65
65
|
footer?: React.ReactNode;
|
|
66
66
|
}
|
|
67
|
+
export interface ActionMenuItemProps {
|
|
68
|
+
/**
|
|
69
|
+
* Renders given element on the left of element
|
|
70
|
+
*/
|
|
71
|
+
leftNode?: React.ReactNode;
|
|
72
|
+
/**
|
|
73
|
+
* Renders given element on the right of element
|
|
74
|
+
*/
|
|
75
|
+
rightNode?: React.ReactNode;
|
|
76
|
+
/**
|
|
77
|
+
* Specify the kind of menu item
|
|
78
|
+
*/
|
|
79
|
+
kind?: 'warning' | undefined;
|
|
80
|
+
}
|