| 1 |
/** |
| 2 |
* The Pro marker, for a link whose destination needs WPSubscription Pro. |
| 3 |
* |
| 4 |
* The admin's own pill (assets/css/admin-components/badges.css), with the same |
| 5 |
* text and title as on the product screen and in the Plans modals. |
| 6 |
*/ |
| 7 |
|
| 8 |
import { __ } from "@wordpress/i18n"; |
| 9 |
|
| 10 |
export default function ProBadge() { |
| 11 |
return ( |
| 12 |
<span |
| 13 |
className="wpsubs-badge wpsubs-badge--pro subscrpt-pro-badge" |
| 14 |
title={__("WPSubscription Pro required", "subscription")} |
| 15 |
> |
| 16 |
{__("Pro", "subscription")} |
| 17 |
</span> |
| 18 |
); |
| 19 |
} |
| 20 |
|