UNPKG

svelte-swipeout

Version:

iOS-style swipeable list component for Svelte 5 with delete animations and mobile-optimized touch handling

10 lines (9 loc) 300 B
import "./swipeout.css"; type $$ComponentProps = { children: any; deleteAnimation?: 'collapse' | 'slide' | 'scale' | ''; class?: string; }; declare const Swipeout: import("svelte").Component<$$ComponentProps, {}, "">; type Swipeout = ReturnType<typeof Swipeout>; export default Swipeout;