import * as RadioGroup from "@radix-ui/react-radio-group"; import classNames from "classnames"; import { useState } from "react"; import { useLocale } from "@calcom/lib/hooks/useLocale"; const ENTERPRISE_BOOKING_FEE = "$99"; // TODO: get this from a new API endpoint const ChooseLicense = ( props: { value: string; onChange: (value: string) => void; onSubmit: (value: string) => void; } & Omit ) => { const { value: initialValue = "FREE", onChange, onSubmit, ...rest } = props; const [value, setValue] = useState(initialValue); const { t } = useLocale(); return (
{ e.preventDefault(); onSubmit(value); }}> { onChange(value); setValue(value); }}>

{t("agplv3_license")}

{t("free_license_fee")}

{t("forever_open_and_free")}

  • {t("required_to_keep_your_code_open_source")}
  • {t("cannot_repackage_and_resell")}
  • {t("no_enterprise_features")}

{t("ee_enterprise_license")}

{t("enterprise_booking_fee", { enterprise_booking_fee: ENTERPRISE_BOOKING_FEE })}

{t("enterprise_license_includes")}

  • {t("no_need_to_keep_your_code_open_source")}
  • {t("repackage_rebrand_resell")}
  • {t("a_vast_suite_of_enterprise_features")}
); }; export default ChooseLicense;