Block Editor
Preview
Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
"use client"
import
{
Check
}
from
"lucide-react"
import
Link
from
"next/link"
import
{
useState
}
from
"react"
import
type
{
VariantProps
}
from
"class-variance-authority"
import
{
Badge
}
from
"@/components/ui/badge"
import
{
Button
,
buttonVariants
}
from
"@/components/ui/button"
import
{
Card
,
CardContent
,
CardDescription
,
CardHeader
,
CardTitle
,
}
from
"@/components/ui/card"
import
{
Switch
}
from
"@/components/ui/switch"
import
{
IconType
,
LinkType
}
from
"@/types"
interface
PricingPlan
{
title
:
string
description
:
string
price
:
{
monthly
:
string
yearly
:
string
}
features
:
string
[
]
button
:
{
label
:
string
link
:
LinkType
Problems
No issues found