import { Card, EmptyState, Text } from "@shopify/polaris"; import type { Tier } from "../lib/billing-plans"; const TIER_LABEL: Record = { free: "Free", starter: "Starter", growth: "Growth", pro: "Pro", }; export function UpsellState({ requiredTier, currentTier, feature, description, }: { requiredTier: Tier; currentTier: Tier; feature: string; description: string; }) { return ( {description} You're currently on the {TIER_LABEL[currentTier]} plan. ); }