mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-21 01:12:59 +00:00
refactor: use standard prettier formatting
This commit is contained in:
@@ -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();
|
||||
},
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user