mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-06-19 08:15:28 -04:00
do react types more better too 🧠
This commit is contained in:
@@ -2,14 +2,13 @@
|
||||
|
||||
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
||||
import { cn } from "@/lib/utils";
|
||||
import type { ComponentPropsWithoutRef } from "react";
|
||||
|
||||
const Separator = ({
|
||||
className,
|
||||
orientation = "horizontal",
|
||||
decorative = true,
|
||||
...rest
|
||||
}: ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>) => {
|
||||
}: React.ComponentProps<typeof SeparatorPrimitive.Root>) => {
|
||||
return (
|
||||
<SeparatorPrimitive.Root
|
||||
data-slot="separator-root"
|
||||
|
||||
Reference in New Issue
Block a user