@make-software/csprclick-ui 1.12.0 → 1.13.0

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,5 +1,5 @@
1
1
  import { BadgeSettings } from '@make-software/csprclick-core-types';
2
2
  export declare const useClickBadge: () => {
3
- setLeftBadge: (config: BadgeSettings) => void;
4
- setRightBadge: (config: BadgeSettings) => void;
3
+ setLeftBadge: (config: BadgeSettings | null) => void;
4
+ setRightBadge: (config: BadgeSettings | null) => void;
5
5
  };
package/dist/index.d.ts CHANGED
@@ -461,8 +461,8 @@ interface TopBarProps {
461
461
  declare function TopBar(props: TopBarProps): react_jsx_runtime.JSX.Element;
462
462
 
463
463
  declare const useClickBadge: () => {
464
- setLeftBadge: (config: BadgeSettings) => void;
465
- setRightBadge: (config: BadgeSettings) => void;
464
+ setLeftBadge: (config: BadgeSettings | null) => void;
465
+ setRightBadge: (config: BadgeSettings | null) => void;
466
466
  };
467
467
 
468
468
  type BadgeBackgroundColor = 'green' | 'violet' | 'blue' | 'gray' | 'fillBlueGradient';