import React from 'react';
import { Field } from 'formik';
import * as R from 'ramda';
import { T, SubscriptionPeriods } from 'components';
import withPlan from '../../Subscriptions/withPlan';
const SubscriptionPeriodsEnhanced = R.compose(
withPlan(({ plan }) => ({ plan })),
)(({ plan, ...restProps }) => {
return ;
});
/**
* Billing periods.
*/
export default function SubscriptionPeriodsSection() {
return (
{({ form: { setFieldValue, values }, field: { value } }) => (
{
setFieldValue('period', period);
}}
/>
)}
);
}