import { colors } from '@0xproject/react-shared'; import * as React from 'react'; import { Container } from 'ts/components/ui/container'; import { IconButton } from 'ts/components/ui/icon_button'; import { Text } from 'ts/components/ui/text'; export interface WrapEthOnboardingStepProps { formattedEthBalanceIfExists?: string; } export const WrapEthOnboardingStep: React.StatelessComponent = ({ formattedEthBalanceIfExists, }) => { if (formattedEthBalanceIfExists) { return (
Congrats you now have {formattedEthBalanceIfExists} in your wallet.
1 ETH
1 WETH
); } else { return (
You need to convert some of your ETH into tradeable Wrapped ETH (WETH).
1 ETH
=
1 WETH
Think of it like the coin version of a paper note. It has the same value, but some machines only take coins. Click to wrap your ETH.
); } };