Changeset View
Changeset View
Standalone View
Standalone View
web/cashtab/src/components/Common/CustomIcons.js
import * as React from 'react'; | import * as React from 'react'; | ||||
import styled from 'styled-components'; | import styled from 'styled-components'; | ||||
import { | import { | ||||
CopyOutlined, | CopyOutlined, | ||||
DollarOutlined, | DollarOutlined, | ||||
LoadingOutlined, | LoadingOutlined, | ||||
WalletOutlined, | WalletOutlined, | ||||
QrcodeOutlined, | QrcodeOutlined, | ||||
SettingOutlined, | SettingOutlined, | ||||
LockOutlined, | LockOutlined, | ||||
} from '@ant-design/icons'; | } from '@ant-design/icons'; | ||||
import { Image } from 'antd'; | import { Image } from 'antd'; | ||||
import { currency } from '@components/Common/Ticker'; | import { currency } from 'components/Common/Ticker'; | ||||
import { ReactComponent as Send } from '@assets/send.svg'; | import { ReactComponent as Send } from 'assets/send.svg'; | ||||
import { ReactComponent as Receive } from '@assets/receive.svg'; | import { ReactComponent as Receive } from 'assets/receive.svg'; | ||||
import { ReactComponent as Genesis } from '@assets/flask.svg'; | import { ReactComponent as Genesis } from 'assets/flask.svg'; | ||||
import { ReactComponent as Unparsed } from '@assets/alert-circle.svg'; | import { ReactComponent as Unparsed } from 'assets/alert-circle.svg'; | ||||
import { ReactComponent as Home } from '@assets/home.svg'; | import { ReactComponent as Home } from 'assets/home.svg'; | ||||
import { ReactComponent as Settings } from '@assets/cog.svg'; | import { ReactComponent as Settings } from 'assets/cog.svg'; | ||||
export const CashLoadingIcon = <LoadingOutlined className="cashLoadingIcon" />; | export const CashLoadingIcon = <LoadingOutlined className="cashLoadingIcon" />; | ||||
export const CashReceivedNotificationIcon = () => ( | export const CashReceivedNotificationIcon = () => ( | ||||
<Image height={'33px'} width={'30px'} src={currency.logo} preview={false} /> | <Image height={'33px'} width={'30px'} src={currency.logo} preview={false} /> | ||||
); | ); | ||||
export const TokenReceivedNotificationIcon = () => ( | export const TokenReceivedNotificationIcon = () => ( | ||||
<Image | <Image | ||||
▲ Show 20 Lines • Show All 62 Lines • Show Last 20 Lines |