Commit 12c9118 1 parent 0eefa54 commit 12c9118 Copy full SHA for 12c9118
File tree 3 files changed +8
-4
lines changed
packages/ui/src/components/animation
3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 60
60
<div
61
61
use:motion
62
62
class =" pointer-events-none absolute -inset-px rounded-xl opacity-0 transition-opacity duration-300 group-hover:opacity-100"
63
- / >
63
+ ></ div >
64
64
</Motion >
65
65
</div >
66
66
Original file line number Diff line number Diff line change 1
1
<script lang =" ts" >
2
2
import { cn } from " ../../utils"
3
3
4
- let className: any = " "
5
- export { className as class }
4
+ let { class : className }: { class? : string } = $props ()
6
5
</script >
7
6
8
7
<div
Original file line number Diff line number Diff line change 3
3
import { cn } from " ../../utils"
4
4
5
5
export let number = 10
6
- let meteorStyles: any = []
6
+ let meteorStyles: {
7
+ top: number
8
+ left: string
9
+ animationDelay: string
10
+ animationDuration: string
11
+ }[] = []
7
12
let changeMeteors = (num : number ) => {
8
13
meteorStyles = []
9
14
const styles = [... new Array (num )].map (() => ({
You can’t perform that action at this time.
0 commit comments