Browse Source
refactor: move AmountInput component to UI dir
renovate/lint-staged-8.x
Tom Kirkpatrick
6 years ago
No known key found for this signature in database
GPG Key ID: 72203A8EC5967EA8
6 changed files with
3 additions and
6 deletions
-
app/components/AmountInput/AmountInput.scss
-
app/components/AmountInput/index.js
-
app/components/Contacts/SubmitChannelForm/SubmitChannelForm.js
-
app/components/UI/AmountInput.js
-
app/components/UI/index.js
-
test/unit/components/UI/AmountInput.spec.js
|
|
@ -1,3 +0,0 @@ |
|
|
|
import AmountInput from './AmountInput' |
|
|
|
|
|
|
|
export default AmountInput |
|
|
@ -1,8 +1,7 @@ |
|
|
|
import React from 'react' |
|
|
|
import PropTypes from 'prop-types' |
|
|
|
import FaExclamationCircle from 'react-icons/lib/fa/exclamation-circle' |
|
|
|
import AmountInput from 'components/AmountInput' |
|
|
|
import { Button, Dropdown } from 'components/UI' |
|
|
|
import { AmountInput, Button, Dropdown } from 'components/UI' |
|
|
|
import { FormattedNumber, FormattedMessage } from 'react-intl' |
|
|
|
import messages from './messages' |
|
|
|
import styles from './SubmitChannelForm.scss' |
|
|
|
|
|
@ -1,3 +1,4 @@ |
|
|
|
export AmountInput from './AmountInput' |
|
|
|
export BackgroundDark from './BackgroundDark' |
|
|
|
export BackgroundLight from './BackgroundLight' |
|
|
|
export BackgroundLightest from './BackgroundLightest' |
|
|
|
|
|
@ -2,7 +2,7 @@ import React from 'react' |
|
|
|
import { configure, mount } from 'enzyme' |
|
|
|
import Adapter from 'enzyme-adapter-react-16' |
|
|
|
|
|
|
|
import AmountInput from 'components/AmountInput' |
|
|
|
import { AmountInput } from 'components/UI' |
|
|
|
|
|
|
|
configure({ adapter: new Adapter() }) |
|
|
|
|