@kingsimba/nc-ui 0.1.9 → 0.1.11
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.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.js +525 -509
- package/dist/index.js.map +1 -1
- package/dist/styles.css +39 -6
- package/dist/yaml.cjs +1 -0
- package/dist/yaml.cjs.map +1 -1
- package/dist/yaml.js +1 -0
- package/dist/yaml.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -375,11 +375,12 @@ export declare function ContextMenu({ open, onClose, options, anchorRef, anchor,
|
|
|
375
375
|
|
|
376
376
|
export declare interface ContextMenuOption {
|
|
377
377
|
id: string;
|
|
378
|
-
label
|
|
378
|
+
label?: string;
|
|
379
379
|
icon?: default_2.ReactNode;
|
|
380
|
-
onClick
|
|
380
|
+
onClick?: () => void;
|
|
381
381
|
disabled?: boolean;
|
|
382
|
-
variant?: 'default' | 'danger';
|
|
382
|
+
variant?: 'default' | 'danger' | 'primary' | 'warning';
|
|
383
|
+
type?: 'item' | 'separator';
|
|
383
384
|
}
|
|
384
385
|
|
|
385
386
|
export declare interface ContextMenuProps {
|