repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 | "use client" |
| #2 | |
| #3 | import * as React from "react" |
| #4 | import * as SliderPrimitive from "@radix-ui/react-slider" |
| #5 | |
| #6 | import { cn } from "@/lib/utils" |
| #7 | |
| #8 | const Slider = React.forwardRef< |
| #9 | React.ElementRef<typeof SliderPrimitive.Root>, |
| #10 | React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root> |
| #11 | >(({ className, ...props }, ref) => ( |
| #12 | <SliderPrimitive.Root |
| #13 | ref={ref} |
| #14 | className={cn( |
| #15 | "relative flex w-full touch-none select-none items-center", |
| #16 | className |
| #17 | )} |
| #18 | {...props} |
| #19 | > |
| #20 | <SliderPrimitive.Track className="relative h-2 w-full grow overflow-hidden rounded-full bg-secondary"> |
| #21 | <SliderPrimitive.Range className="absolute h-full bg-primary" /> |
| #22 | </SliderPrimitive.Track> |
| #23 | <SliderPrimitive.Thumb className="block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50" /> |
| #24 | </SliderPrimitive.Root> |
| #25 | )) |
| #26 | Slider.displayName = SliderPrimitive.Root.displayName |
| #27 | |
| #28 | export { Slider } |
| #29 |