Skip to content

Instantly share code, notes, and snippets.

View devDoubleH's full-sized avatar
👨‍💻
Trying to speak native in JavaScript

Ismoiljon devDoubleH

👨‍💻
Trying to speak native in JavaScript
View GitHub Profile
@devDoubleH
devDoubleH / breadcrumbs.tsx
Last active March 3, 2024 07:55
Handmade shadcn/ui Breadcrumb
import * as React from "react";
import { ChevronRightIcon } from "@radix-ui/react-icons";
interface BreadcrumbItemProps extends React.HTMLAttributes<HTMLAnchorElement> {
href: string;
}
const Breadcrumb = React.forwardRef<
HTMLDivElement,
React.HTMLAttributes<HTMLDivElement>