Usually, I can import a flip or other animations in svelte like this:
flip
import { flip } from "svelte/animate";
However, I\'m