import { FC, type ReactNode } from "react"; import { PresetsHaveNoPermissionToLoad } from "./PresetsHaveNoPermissionToLoad"; import classNames from "classnames"; import { __, urls } from "../../globals"; import { EmulatedButton } from "../EmulatedButton"; import { Button } from "../cards/Button"; export type TreeSupportProps = { } export const TreeSupport: FC = ({}) => { return
} title="Get Help" size="smaller" desc={["Need help configuring an offer or fixing a bug? We've got your back."]} button={} />
} title="Guides & Docs" size="smaller" desc={["Browse our official guides and tutorials to help you get the most out of your coupons."]} button={} />
}; const CTA = ({decoration, title, desc, button, size = 'normal'}: {decoration?: ReactNode, title: string, desc?: string[], button?: ReactNode, size?: 'normal' | 'smaller'}) => { return
{decoration}

{title || __('Import ready-to-use presets!')}

{(desc?.length ? desc : []).map(desc =>

{desc}

)}
{button}
}