Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Settings = (onBack, isLandscape, plans, currentPlan, setCurrentPlan) => {
- <SettingsSubscription
- onBack={onBack}
- isLandscape={isLandscape}
- plans={plans}
- currentPlan={currentPlan}
- setCurrentPlan={setCurrentPlan}
- />
- }
- const options = [
- {
- title: 'Subscription',
- subtitle: plans[currentPlan].name,
- renderDetail: ({ selectedOption, onBack, isLandscape }) => Settings(onBack, isLandscape, plans, currentPlan, setCurrentPlan)
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement