Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/sandino/implement-glowing-cursor…
Browse files Browse the repository at this point in the history
…-effect-wip-fix' into sandino/implement-glowing-cursor-effect-wip-fix
  • Loading branch information
ssandino committed Jan 14, 2025
2 parents ef2fe22 + 49de84b commit 4304be9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions ui/src/components/use-glow-hover/glow-hover-effect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ export type GlowHoverOptions = {
enableBurst?: boolean;
} & (
| {
preset: keyof typeof presets;
lightColor?: string;
}
preset: keyof typeof presets;
lightColor?: string;
}
| {
preset?: undefined;
lightColor: string;
}
);
preset?: undefined;
lightColor: string;
}
);

type Coords = {
x: number;
Expand Down Expand Up @@ -263,4 +263,4 @@ export const glowHoverEffect = (el: HTMLElement, { preset, ...options }: GlowHov
resizeObserver.disconnect();
}
};
};
};

0 comments on commit 4304be9

Please sign in to comment.