"use client"; import React from "react"; import { IconCheck } from "@tabler/icons-react"; import { tiers } from "@/constants/tier"; export function PricingTable({ _pricing }: any) { const CheckIcon = () => { return ( ); }; const tableFeatures = [ { title: "Create APIs", hobby: , starter: , professional: , enterprise: , }, { title: "Access to Dashboard", hobby: , starter: , professional: , enterprise: , }, { title: "Share functionality", hobby: , starter: , professional: , enterprise: , }, { title: "Playground Editor", hobby: , starter: , professional: , enterprise: , }, { title: "Marketplace access", hobby: , starter: , professional: , enterprise: , }, { title: "On call support", hobby: , starter: , professional: , enterprise: , }, { title: "Developer Program", starter: , hobby: , professional: , enterprise: , }, { title: "Advanced Analytics", hobby: "On demand", starter: "If you ask nicely", professional: , enterprise: , }, { title: "Long running APIs", hobby: "Probably never", starter: "Nuh uh", professional: , enterprise: , }, { title: "Zero Downtime Guarantee", hobby: "", starter: "", professional: , enterprise: , }, { title: "Custom Analytics", hobby: "", starter: "", professional: , enterprise: , }, { title: "Single Sign On", hobby: "", starter: "", professional: "", enterprise: , }, { title: "Security certificate", hobby: "", starter: "", professional: "", enterprise: , }, { title: "Retweets from us", hobby: "", starter: "", professional: "", enterprise: , }, { title: "We send you flowers", hobby: "", starter: "", professional: "", enterprise: , }, ]; return (
{tiers?.map((item, index) => ( ))} {tableFeatures.map((feature) => ( ))}
{item.name}
{feature.title} {feature.hobby} {feature.starter} {feature.professional} {feature.enterprise}
{/* */}
); }