-
Notifications
You must be signed in to change notification settings - Fork 523
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update velocity scroll component
- Loading branch information
1 parent
6e9e761
commit 3ab3dab
Showing
3 changed files
with
99 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
import { VelocityScroll } from "@/registry/default/magicui/scroll-based-velocity"; | ||
|
||
export default function ScrollBasedVelocityDemo() { | ||
return ( | ||
<VelocityScroll | ||
text="Velocity Scroll" | ||
default_velocity={5} | ||
rowsAmount={2} | ||
className="font-display text-center text-4xl font-bold tracking-[-0.02em] text-black drop-shadow-sm dark:text-white md:text-7xl md:leading-[5rem]" | ||
/> | ||
); | ||
return <VelocityScroll>Velocity Scroll</VelocityScroll>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters