Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
TahaSh committed Jul 28, 2024
1 parent fe4d09f commit c74cdcf
Show file tree
Hide file tree
Showing 3 changed files with 974 additions and 757 deletions.
3 changes: 2 additions & 1 deletion dist/swapy.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ declare type AnimationType = 'dynamic' | 'spring' | 'none';

declare type Config = {
animation: AnimationType;
continuousMode: boolean;
};

export declare function createSwapy(root: Element | null, userConfig?: Config): SwapyApi;
export declare function createSwapy(root: Element | null, userConfig?: Partial<Config>): SwapyApi;

declare type SwapCallback = (event: SwapEventData) => void;

Expand Down
Loading

0 comments on commit c74cdcf

Please sign in to comment.