//@flow import * as React from "react"; import cn from "classnames"; import Card from "../Card/Card.react"; import PricingCardCategory from "./PricingCardCategory.react"; import PricingCardPrice from "./PricingCardPrice.react"; import PricingCardAttributeList from "./PricingCardAttributeList.react"; import PricingCardAttributeItem from "./PricingCardAttributeItem.react"; import PricingCardButton from "./PricingCardButton.react"; type Props = {| +children?: React.Node, +className?: string, +active?: boolean, +category?: React.Node, |}; function PricingCard({ className, children, active = false, category, }: Props): React.Node { const cardBodyClassName = cn("text-center"); const cardStatusClassName = cn("card-status", "bg-green"); const cardStatus =
; const cardCategory =