mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
Sorted all imports in all packages, `cms`, `design-system` and `ui-library` apps by running `pnpm format` on them. All changes in this PR are done by the script.
18 lines
347 B
TypeScript
18 lines
347 B
TypeScript
import { Slider } from 'ui'
|
|
|
|
import { cn } from '@/lib/utils'
|
|
|
|
type SliderProps = React.ComponentProps<typeof Slider>
|
|
|
|
export default function SliderDemo({ className, ...props }: SliderProps) {
|
|
return (
|
|
<Slider
|
|
defaultValue={[50]}
|
|
max={100}
|
|
step={1}
|
|
className={cn('w-[60%]', className)}
|
|
{...props}
|
|
/>
|
|
)
|
|
}
|