import * as React from 'react'; import { Container } from 'ts/components/ui/container'; import { Text } from 'ts/components/ui/text'; export interface SetAllowancesOnboardingStepProps { zrxAllowanceToggle: React.ReactNode; ethAllowanceToggle: React.ReactNode; doesUserHaveAllowancesForWethAndZrx: boolean; } export const SetAllowancesOnboardingStep: React.StatelessComponent = ({ ethAllowanceToggle, zrxAllowanceToggle, doesUserHaveAllowancesForWethAndZrx, }) => (
Unlock your tokens for trading. You only need to do this once for each token.
Enable WETH {ethAllowanceToggle}
Enable ZRX {zrxAllowanceToggle}
{doesUserHaveAllowancesForWethAndZrx && Perfect! Both your ZRX and WETH tokens are unlocked.}
);