cortex-react-ui 0.1.118 → 0.1.121

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,7 +1,7 @@
1
- import React from 'react';
1
+ import React, { CSSProperties } from 'react';
2
2
  export interface MenuItemProps {
3
3
  className?: string;
4
- style?: React.HTMLAttributes<HTMLLIElement>;
4
+ style?: CSSProperties | undefined;
5
5
  children?: React.ReactNode;
6
6
  label?: string;
7
7
  icon?: React.ReactNode;
package/lib/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React, { CSSProperties } from 'react';
2
2
 
3
3
  declare const PopperPlacement: {
4
4
  readonly Center: "center";
@@ -140,7 +140,7 @@ declare const ContextMenu: React.FC<ContextMenuProps>;
140
140
 
141
141
  interface MenuItemProps {
142
142
  className?: string;
143
- style?: React.HTMLAttributes<HTMLLIElement>;
143
+ style?: CSSProperties | undefined;
144
144
  children?: React.ReactNode;
145
145
  label?: string;
146
146
  icon?: React.ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cortex-react-ui",
3
- "version": "0.1.118",
3
+ "version": "0.1.121",
4
4
  "description": "React UI",
5
5
  "author": "Anthony",
6
6
  "license": "MIT",