// @ts-nocheck import React from 'react'; import { Field } from 'formik'; import { T, SubscriptionPlans } from '@/components'; import withPlans from './withPlans'; import { compose } from '@/utils'; /** * Billing plans. */ function BillingPlans({ plans, title, description, selectedOption }) { return (

{({ form: { setFieldValue }, field: { value } }) => ( { setFieldValue('plan_slug', value); }} /> )}
); } export default compose(withPlans(({ plans }) => ({ plans })))(BillingPlans);