import React from 'react' import { __ } from '@wordpress/i18n' import { Button } from '../Button' import type { ReactNode } from 'react' const PRICING_URL = 'https://codesnippets.pro/pricing/' export interface DemoUpsellProps { title: string children: ReactNode onReplay: VoidFunction } /** * Closing panel shared by the feature walkthroughs: what the visitor just saw, * what the real feature does, and the route to it. */ export const DemoUpsell: React.FC = ({ title, children, onReplay }) =>

{title}

{children}
{__('Upgrade to Pro', 'code-snippets')}