@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.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: string;
378
+ label?: string;
379
379
  icon?: default_2.ReactNode;
380
- onClick: () => void;
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 {