Skip to content

Commit

Permalink
remove import from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
abcrane123 committed Jun 10, 2024
1 parent 6743bac commit 942a04f
Showing 1 changed file with 0 additions and 44 deletions.
44 changes: 0 additions & 44 deletions site/docs/pages/swap/swap-amount-input.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{/* import { SwapAmountInput } from '../../../../src/swap'; */}
import { SwapAmountInput } from '../../../../src/swap';
import App from '../App';
import SwapAmountInputContainer from '../../components/SwapAmountInputContainer.tsx';

Expand Down Expand Up @@ -71,49 +70,6 @@ The `SwapAmountInput` component is a stylized input field designed for users to

:::

<App>
<SwapAmountInputContainer>
{(amount, setAmount, setToken, token, tokenBalance) => (
<SwapAmountInput
amount={amount}
label="Sell"
setAmount={setAmount}
setToken={setToken}
swappableTokens={[
{
name: 'Ethereum',
address: '',
symbol: 'ETH',
decimals: 18,
image: 'https://wallet-api-production.s3.amazonaws.com/uploads/tokens/eth_288.png',
chainId: 8453,
},
{
name: 'USDC',
address: '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913',
symbol: 'USDC',
decimals: 6,
image:
'https://d3r81g40ycuhqg.cloudfront.net/wallet/wais/44/2b/442b80bd16af0c0d9b22e03a16753823fe826e5bfd457292b55fa0ba8c1ba213-ZWUzYjJmZGUtMDYxNy00NDcyLTg0NjQtMWI4OGEwYjBiODE2',
chainId: 8453,
},
{
name: 'Dai',
address: '0x50c5725949a6f0c72e6c4a641f24049a917db0cb',
symbol: 'DAI',
decimals: 18,
image:
'https://d3r81g40ycuhqg.cloudfront.net/wallet/wais/d0/d7/d0d7784975771dbbac9a22c8c0c12928cc6f658cbcf2bbbf7c909f0fa2426dec-NmU4ZWViMDItOTQyYy00Yjk5LTkzODUtNGJlZmJiMTUxOTgy',
chainId: 8453,
},
]}
token={token}
tokenBalance={tokenBalance}
/>
)}
</SwapAmountInputContainer>
</App>

## Props

[`SwapAmountInputReact`](/swap/types#SwapAmountInputReact)
Expand Down

0 comments on commit 942a04f

Please sign in to comment.