Closed paanSinghCoder closed 2 weeks ago
Breadcrumb component for Apsara v2.
Props:
interface BreadcrumbItem { label: string; href: string; icon?: React.ReactNode; dropdownItems?: Array<{ label: string; href: string }>; } type BreadcrumbProps = PropsWithChildren<Omit<VariantProps<typeof breadcrumb>, 'size'>> & { items: BreadcrumbItem[]; maxVisibleItems?: number; separator?: React.ReactNode; onItemClick?: (item: BreadcrumbItem) => void; className?: string; size?: 'small' | 'medium'; };
Docs in progress. Note: The dropdown might seem a bit off wrt the spacing and padding. We will fix it when working with the dropdown component.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Breadcrumb component for Apsara v2.
Props:
Docs in progress. Note: The dropdown might seem a bit off wrt the spacing and padding. We will fix it when working with the dropdown component.