Changeset View
Changeset View
Standalone View
Standalone View
web/cashtab-v2/src/components/Common/EnhancedInputs.js
import * as React from 'react'; | import * as React from 'react'; | ||||
import PropTypes from 'prop-types'; | import PropTypes from 'prop-types'; | ||||
import { Form, Input, Select } from 'antd'; | import { Form, Input, Select } from 'antd'; | ||||
const { TextArea } = Input; | |||||
import { | import { | ||||
ThemedDollarOutlined, | ThemedDollarOutlined, | ||||
ThemedWalletOutlined, | ThemedWalletOutlined, | ||||
} from 'components/Common/CustomIcons'; | } from 'components/Common/CustomIcons'; | ||||
import styled, { css } from 'styled-components'; | import styled, { css } from 'styled-components'; | ||||
import ScanQRCode from './ScanQRCode'; | import ScanQRCode from './ScanQRCode'; | ||||
import useBCH from 'hooks/useBCH'; | import useBCH from 'hooks/useBCH'; | ||||
import { currency } from 'components/Common/Ticker.js'; | import { currency } from 'components/Common/Ticker.js'; | ||||
const { TextArea } = Input; | |||||
export const AntdFormCss = css` | export const AntdFormCss = css` | ||||
.ant-input-group-addon { | .ant-input-group-addon { | ||||
background-color: ${props => | background-color: ${props => | ||||
props.theme.forms.addonBackground} !important; | props.theme.forms.addonBackground} !important; | ||||
border: 1px solid ${props => props.theme.forms.border}; | border: 1px solid ${props => props.theme.forms.border}; | ||||
color: ${props => props.theme.forms.addonForeground} !important; | color: ${props => props.theme.forms.addonForeground} !important; | ||||
} | } | ||||
input.ant-input, | input.ant-input, | ||||
▲ Show 20 Lines • Show All 354 Lines • Show Last 20 Lines |