refactor: use standard prettier formatting

This commit is contained in:
2024-04-06 13:15:35 +02:00
parent 86ec8651b6
commit 854ab6d3be
106 changed files with 2703 additions and 2046 deletions

View File

@@ -1,13 +1,16 @@
import type {Action} from "svelte/action"
import tippy from "tippy.js"
import type {Props} from "tippy.js"
import type { Action } from "svelte/action";
import tippy from "tippy.js";
import type { Props } from "tippy.js";
export const tooltip: Action<HTMLElement, Partial<Props>> = function (node, props) {
const instance = tippy(node, props)
export const tooltip: Action<HTMLElement, Partial<Props>> = function (
node,
props,
) {
const instance = tippy(node, props);
return {
destroy() {
instance.destroy()
instance.destroy();
},
}
}
};
};