import type { ReactNode } from "react"; import { ChevronRight } from "lucide-react"; type PracticeDoorProps = { icon: ReactNode; title: string; detail: string; onOpen?: () => void; }; // admin-v2 .door: a destination tile on the Practice Dashboard and in the service list. It is the shared // card (DESIGN.md 6b: destination tiles take the card treatment; Spencer 2026-09-25: cards are one global style). // A door with nowhere to go is drawn static - no link ink, chevron or hover - so it never looks clickable. const PracticeDoor = ({ icon, title, detail, onOpen }: PracticeDoorProps) => { const body = ( <> {icon} {title} {detail} {onOpen && } ); const layout = "ak-card flex min-h-16 w-full items-center gap-[11px] text-left"; return onOpen ? ( ) : (
{body}
); }; export default PracticeDoor;