import { ChevronRight, Settings2 } from 'lucide-react'; import React, { type ReactNode } from 'react'; import { fs } from '../shared/DialogShell'; /** * The last row of an addon's shelf that opens its settings dialog: a gear, what * the dialog sets up, and a chevron. It keeps a card of addons as short as its * switches and puts the long forms behind one tap (AI, booking mails, paddle * water data). A badge says what waits inside, such as requests to look at. */ export default function AddonSetupRow({ label, onOpen, badge, }: { label: string; onOpen: () => void; badge?: ReactNode; }): React.ReactElement { return (