Skip to content

Commit

Permalink
ball: change order of props
Browse files Browse the repository at this point in the history
Use the same order as typical on the user side.
  • Loading branch information
jnikula committed Nov 16, 2024
1 parent 59af341 commit b8e5125
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib/Ball.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
import type { Snippet } from 'svelte';
interface Props {
title?: string;
value: number;
action?: any;
active: boolean;
title?: string;
action?: any;
children?: Snippet;
}
let {
title = '',
value,
action = () => {},
active,
title = '',
action = () => {},
children,
}: Props = $props();
Expand Down

0 comments on commit b8e5125

Please sign in to comment.