Update CreateWallet with FormattedMessage (#4298)

* Allow FormattedMessage as hint & label

* tests for basic rendering

* convert component messages

* Typo

* id typos (insubstantial, but annoying)

* 2015-2017

* 2015-2017

* 2015-2017

* 2015-2017

* 2015-2017
This commit is contained in:
Jaco Greeff
2017-01-26 16:11:04 +01:00
committed by GitHub
parent 82a7a17e6e
commit 2ac7655355
11 changed files with 612 additions and 113 deletions

View File

@@ -28,6 +28,7 @@ import Input from '~/ui/Form/Input';
import InputAddressSelect from '~/ui/Form/InputAddressSelect';
import Select from '~/ui/Form/Select';
import { ABI_TYPES, parseAbiType } from '~/util/abi';
import { nodeOrStringProptype } from '~/util/proptypes';
import styles from './typedInput.css';
@@ -42,9 +43,9 @@ export default class TypedInput extends Component {
allowCopy: PropTypes.bool,
className: PropTypes.string,
error: PropTypes.any,
hint: PropTypes.string,
hint: nodeOrStringProptype(),
isEth: PropTypes.bool,
label: PropTypes.string,
label: nodeOrStringProptype(),
max: PropTypes.number,
min: PropTypes.number,
onChange: PropTypes.func,