Commit ba705b5d authored by tom's avatar tom

transfer ui components

parent 69f1b453
...@@ -3,7 +3,7 @@ import React, { useCallback } from 'react'; ...@@ -3,7 +3,7 @@ import React, { useCallback } from 'react';
import type { TApiKeyItem } from 'data/apiKey'; import type { TApiKeyItem } from 'data/apiKey';
import ApiKeyForm from './ApiKeyForm'; import ApiKeyForm from './ApiKeyForm';
import FormModal from '../../shared/FormModal'; import FormModal from 'ui/shared/FormModal';
type Props = { type Props = {
isOpen: boolean; isOpen: boolean;
......
...@@ -8,11 +8,11 @@ import { ...@@ -8,11 +8,11 @@ import {
useColorModeValue, useColorModeValue,
} from '@chakra-ui/react' } from '@chakra-ui/react'
import EditButton from '../../shared/EditButton'; import EditButton from 'ui/shared/EditButton';
import DeleteButton from '../../shared/DeleteButton'; import DeleteButton from 'ui/shared/DeleteButton';
import type { TApiKeyItem } from 'data/apiKey'; import type { TApiKeyItem } from 'data/apiKey';
import CopyToClipboard from '../../shared/CopyToClipboard'; import CopyToClipboard from 'ui/shared/CopyToClipboard';
interface Props { interface Props {
item: TApiKeyItem; item: TApiKeyItem;
......
import React, { useCallback } from 'react'; import React, { useCallback } from 'react';
import { Text } from '@chakra-ui/react'; import { Text } from '@chakra-ui/react';
import DeleteModal from '../shared/DeleteModal' import DeleteModal from 'ui/shared/DeleteModal'
type Props = { type Props = {
isOpen: boolean; isOpen: boolean;
......
...@@ -7,8 +7,8 @@ import { ...@@ -7,8 +7,8 @@ import {
Button, Button,
} from '@chakra-ui/react'; } from '@chakra-ui/react';
import AddressInput from '../../shared/AddressInput'; import AddressInput from 'ui/shared/AddressInput';
import TagInput from '../../shared/TagInput'; import TagInput from 'ui/shared/TagInput';
import type { TPrivateTagsAddressItem } from 'data/privateTagsAddress'; import type { TPrivateTagsAddressItem } from 'data/privateTagsAddress';
......
...@@ -3,7 +3,7 @@ import React, { useCallback } from 'react'; ...@@ -3,7 +3,7 @@ import React, { useCallback } from 'react';
import type { TPrivateTagsAddressItem } from 'data/privateTagsAddress'; import type { TPrivateTagsAddressItem } from 'data/privateTagsAddress';
import AddressForm from './AddressForm'; import AddressForm from './AddressForm';
import FormModal from '../../shared/FormModal'; import FormModal from 'ui/shared/FormModal';
type Props = { type Props = {
isOpen: boolean; isOpen: boolean;
......
...@@ -8,12 +8,12 @@ import { ...@@ -8,12 +8,12 @@ import {
Tooltip, Tooltip,
} from '@chakra-ui/react' } from '@chakra-ui/react'
import AddressIcon from '../../shared/AddressIcon'; import AddressIcon from 'ui/shared/AddressIcon';
import AddressLinkWithTooltip from '../../shared/AddressLinkWithTooltip'; import AddressLinkWithTooltip from 'ui/shared/AddressLinkWithTooltip';
import type { TPrivateTagsAddressItem } from 'data/privateTagsAddress'; import type { TPrivateTagsAddressItem } from 'data/privateTagsAddress';
import EditButton from '../../shared/EditButton'; import EditButton from 'ui/shared/EditButton';
import DeleteButton from '../../shared/DeleteButton'; import DeleteButton from 'ui/shared/DeleteButton';
interface Props { interface Props {
item: TPrivateTagsAddressItem; item: TPrivateTagsAddressItem;
......
import React, { useCallback } from 'react'; import React, { useCallback } from 'react';
import { Text } from '@chakra-ui/react'; import { Text } from '@chakra-ui/react';
import DeleteModal from '../shared/DeleteModal' import DeleteModal from 'ui/shared/DeleteModal'
type Props = { type Props = {
isOpen: boolean; isOpen: boolean;
......
...@@ -7,8 +7,8 @@ import { ...@@ -7,8 +7,8 @@ import {
Button, Button,
} from '@chakra-ui/react'; } from '@chakra-ui/react';
import TransactionInput from '../../shared/TransactionInput'; import TransactionInput from 'ui/shared/TransactionInput';
import TagInput from '../../shared/TagInput'; import TagInput from 'ui/shared/TagInput';
import type { TPrivateTagsTransactionItem } from 'data/privateTagsTransaction'; import type { TPrivateTagsTransactionItem } from 'data/privateTagsTransaction';
......
...@@ -3,7 +3,7 @@ import React, { useCallback } from 'react'; ...@@ -3,7 +3,7 @@ import React, { useCallback } from 'react';
import type { TPrivateTagsTransactionItem } from 'data/privateTagsTransaction'; import type { TPrivateTagsTransactionItem } from 'data/privateTagsTransaction';
import TransactionForm from './TransactionForm'; import TransactionForm from './TransactionForm';
import FormModal from '../../shared/FormModal'; import FormModal from 'ui/shared/FormModal';
type Props = { type Props = {
isOpen: boolean; isOpen: boolean;
......
...@@ -8,10 +8,10 @@ import { ...@@ -8,10 +8,10 @@ import {
Tooltip, Tooltip,
} from '@chakra-ui/react' } from '@chakra-ui/react'
import EditButton from '../../shared/EditButton'; import EditButton from 'ui/shared/EditButton';
import DeleteButton from '../../shared/DeleteButton'; import DeleteButton from 'ui/shared/DeleteButton';
import AddressLinkWithTooltip from '../../shared/AddressLinkWithTooltip'; import AddressLinkWithTooltip from 'ui/shared/AddressLinkWithTooltip';
import type { TPrivateTagsTransactionItem } from 'data/privateTagsTransaction'; import type { TPrivateTagsTransactionItem } from 'data/privateTagsTransaction';
......
...@@ -11,8 +11,8 @@ import { ...@@ -11,8 +11,8 @@ import {
GridItem, GridItem,
} from '@chakra-ui/react'; } from '@chakra-ui/react';
import AddressInput from '../../shared/AddressInput'; import AddressInput from 'ui/shared/AddressInput';
import TagInput from '../../shared/TagInput'; import TagInput from 'ui/shared/TagInput';
import type { TWatchlistItem } from 'data/watchlist'; import type { TWatchlistItem } from 'data/watchlist';
......
...@@ -3,7 +3,7 @@ import React, { useCallback } from 'react'; ...@@ -3,7 +3,7 @@ import React, { useCallback } from 'react';
import type { TWatchlistItem } from 'data/watchlist'; import type { TWatchlistItem } from 'data/watchlist';
import AddressForm from './AddressForm'; import AddressForm from './AddressForm';
import FormModal from '../../shared/FormModal'; import FormModal from 'ui/shared/FormModal';
type Props = { type Props = {
isOpen: boolean; isOpen: boolean;
......
import React, { useCallback } from 'react'; import React, { useCallback } from 'react';
import { Text } from '@chakra-ui/react'; import { Text } from '@chakra-ui/react';
import DeleteModal from '../shared/DeleteModal' import DeleteModal from 'ui/shared/DeleteModal'
type Props = { type Props = {
isOpen: boolean; isOpen: boolean;
......
...@@ -2,8 +2,8 @@ import React from 'react'; ...@@ -2,8 +2,8 @@ import React from 'react';
import { Link, HStack, VStack, Image, Text, Icon, useColorModeValue } from '@chakra-ui/react'; import { Link, HStack, VStack, Image, Text, Icon, useColorModeValue } from '@chakra-ui/react';
import AddressIcon from '../../shared/AddressIcon'; import AddressIcon from 'ui/shared/AddressIcon';
import AddressLinkWithTooltip from '../../shared/AddressLinkWithTooltip'; import AddressLinkWithTooltip from 'ui/shared/AddressLinkWithTooltip';
import type { TWatchlistItem } from 'data/watchlist'; import type { TWatchlistItem } from 'data/watchlist';
import { nbsp } from 'lib/html-entities'; import { nbsp } from 'lib/html-entities';
import TokensIcon from 'icons/tokens.svg'; import TokensIcon from 'icons/tokens.svg';
......
...@@ -9,8 +9,8 @@ import { ...@@ -9,8 +9,8 @@ import {
Tooltip, Tooltip,
} from '@chakra-ui/react' } from '@chakra-ui/react'
import EditButton from '../../shared/EditButton'; import EditButton from 'ui/shared/EditButton';
import DeleteButton from '../../shared/DeleteButton'; import DeleteButton from 'ui/shared/DeleteButton';
import type { TWatchlistItem } from 'data/watchlist'; import type { TWatchlistItem } from 'data/watchlist';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment