Move Documentation to the @0xproject/react-docs
package
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
import { colors } from '@0xproject/react-shared';
|
||||
import { colors, EtherscanLinkSuffixes, utils as sharedUtils } from '@0xproject/react-shared';
|
||||
import * as _ from 'lodash';
|
||||
import * as React from 'react';
|
||||
import ReactTooltip = require('react-tooltip');
|
||||
import { EtherscanLinkSuffixes } from 'ts/types';
|
||||
import { utils } from 'ts/utils/utils';
|
||||
|
||||
interface EtherScanIconProps {
|
||||
@@ -12,7 +11,7 @@ interface EtherScanIconProps {
|
||||
}
|
||||
|
||||
export const EtherScanIcon = (props: EtherScanIconProps) => {
|
||||
const etherscanLinkIfExists = utils.getEtherScanLinkIfExists(
|
||||
const etherscanLinkIfExists = sharedUtils.getEtherScanLinkIfExists(
|
||||
props.addressOrTxHash,
|
||||
props.networkId,
|
||||
EtherscanLinkSuffixes.Address,
|
||||
|
Reference in New Issue
Block a user