diff --git a/apps/www/registry/default/ui/slider.tsx b/apps/www/registry/default/ui/slider.tsx index c31c2b3bc1a..6a1ce68fd1e 100644 --- a/apps/www/registry/default/ui/slider.tsx +++ b/apps/www/registry/default/ui/slider.tsx @@ -8,19 +8,21 @@ import { cn } from "@/lib/utils" const Slider = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( +>(({ className, orientation = "horizontal", ...props }, ref) => ( - - + + - + )) Slider.displayName = SliderPrimitive.Root.displayName diff --git a/apps/www/registry/new-york/ui/slider.tsx b/apps/www/registry/new-york/ui/slider.tsx index ab19d576f00..6a1ce68fd1e 100644 --- a/apps/www/registry/new-york/ui/slider.tsx +++ b/apps/www/registry/new-york/ui/slider.tsx @@ -8,17 +8,19 @@ import { cn } from "@/lib/utils" const Slider = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( +>(({ className, orientation = "horizontal", ...props }, ref) => ( - - + +