import { Link } from 'react-router-dom'
import { ArrowRight } from 'lucide-react'
type ShortcutItem = {
to: string
title: string
description: string
badge?: string
group?: string
}
type ManagementShortcutsProps = {
title: string
description?: string
items: ShortcutItem[]
}
export function ManagementShortcuts({ title, description, items }: ManagementShortcutsProps) {
const groups = groupShortcutItems(items)
const hasNamedGroups = groups.some((group) => group.label)
return (
{description}{title}
{description && {group.label}
}
{item.description}