cortex-react-ui 0.1.14 → 0.1.15
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.
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { PopperPlacement } from '../Popper/Popper';
|
|
3
3
|
export interface ContextMenuProps {
|
|
4
4
|
className?: string;
|
|
5
|
-
children?: React.
|
|
5
|
+
children?: React.ReactNode;
|
|
6
6
|
open?: boolean;
|
|
7
7
|
placement?: ObjectValues<typeof PopperPlacement>;
|
|
8
8
|
container?: string | HTMLElement | React.RefObject<HTMLElement>;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { PopperPlacement } from '../Popper/Popper';
|
|
3
3
|
export interface MenuProps {
|
|
4
4
|
className?: string;
|
|
5
|
-
children?: React.
|
|
5
|
+
children?: React.ReactNode;
|
|
6
6
|
open?: boolean;
|
|
7
7
|
anchorEl?: string | HTMLElement | React.RefObject<HTMLElement>;
|
|
8
8
|
anchorPosition?: {
|
package/lib/index.d.ts
CHANGED
|
@@ -84,7 +84,7 @@ declare const TagInput: React.FC<TooltipProps>;
|
|
|
84
84
|
|
|
85
85
|
interface MenuProps {
|
|
86
86
|
className?: string;
|
|
87
|
-
children?: React.
|
|
87
|
+
children?: React.ReactNode;
|
|
88
88
|
open?: boolean;
|
|
89
89
|
anchorEl?: string | HTMLElement | React.RefObject<HTMLElement>;
|
|
90
90
|
anchorPosition?: {
|
|
@@ -98,7 +98,7 @@ declare const Menu: React.FC<MenuProps>;
|
|
|
98
98
|
|
|
99
99
|
interface ContextMenuProps {
|
|
100
100
|
className?: string;
|
|
101
|
-
children?: React.
|
|
101
|
+
children?: React.ReactNode;
|
|
102
102
|
open?: boolean;
|
|
103
103
|
placement?: ObjectValues<typeof PopperPlacement>;
|
|
104
104
|
container?: string | HTMLElement | React.RefObject<HTMLElement>;
|
|
@@ -109,7 +109,7 @@ declare const ContextMenu: React.FC<ContextMenuProps>;
|
|
|
109
109
|
|
|
110
110
|
interface MenuItemProps {
|
|
111
111
|
className?: string;
|
|
112
|
-
children?: React.
|
|
112
|
+
children?: React.ReactNode;
|
|
113
113
|
onClick?: () => void;
|
|
114
114
|
}
|
|
115
115
|
declare const MenuItem: React.FC<MenuItemProps>;
|