import { Dialog, DialogPanel, DialogTitle } from '@headlessui/react'; import { createInterpolateElement } from '@wordpress/element'; import { check, Icon } from '@wordpress/icons'; import { Cta } from '../Cta'; import { cardVariables, colorsOf } from '../colors'; import { DismissButton } from '../DismissButton'; export const Pricing = ({ notification, href, external, dismissible, onDismiss, onClick, }) => { const { title, content } = notification; const { price, 'price-detail': priceDetail, description, items, } = notification.offer ?? {}; const colors = colorsOf(notification); return ( // Dialog portals to the body, so the prefix scope has to travel with it. undefined} > {/* The agent loading rail in Skeleton.php sits at 1000001, over z-higher. */}
); };