diff options
author | Francesco Agosti <francesco.agosti93@gmail.com> | 2018-12-15 02:50:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-15 02:50:32 +0800 |
commit | 1efde6f59b976a074ba2ea15be867400b21dd68b (patch) | |
tree | bfc65121383805aa9886470b42263d9c6fd95f8c /packages/instant/src/components/scaling_amount_input.tsx | |
parent | 91d432aa564d9766d16c615cadcfbe287542af09 (diff) | |
parent | 9cd859a68a94e90eb9891c5b9a4ec7518b7fb64d (diff) | |
download | dexon-sol-tools-1efde6f59b976a074ba2ea15be867400b21dd68b.tar dexon-sol-tools-1efde6f59b976a074ba2ea15be867400b21dd68b.tar.gz dexon-sol-tools-1efde6f59b976a074ba2ea15be867400b21dd68b.tar.bz2 dexon-sol-tools-1efde6f59b976a074ba2ea15be867400b21dd68b.tar.lz dexon-sol-tools-1efde6f59b976a074ba2ea15be867400b21dd68b.tar.xz dexon-sol-tools-1efde6f59b976a074ba2ea15be867400b21dd68b.tar.zst dexon-sol-tools-1efde6f59b976a074ba2ea15be867400b21dd68b.zip |
Merge pull request #1415 from 0xProject/feature/instant/mobile-numeric-keyboard
[instant] Change input to number input, and simplify ScalingInput
Diffstat (limited to 'packages/instant/src/components/scaling_amount_input.tsx')
-rw-r--r-- | packages/instant/src/components/scaling_amount_input.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/instant/src/components/scaling_amount_input.tsx b/packages/instant/src/components/scaling_amount_input.tsx index 86aca5a65..4feb0502d 100644 --- a/packages/instant/src/components/scaling_amount_input.tsx +++ b/packages/instant/src/components/scaling_amount_input.tsx @@ -58,6 +58,7 @@ export class ScalingAmountInput extends React.Component<ScalingAmountInputProps, const { textLengthThreshold, fontColor, maxFontSizePx, onFontSizeChange } = this.props; return ( <ScalingInput + type="number" maxFontSizePx={maxFontSizePx} textLengthThreshold={textLengthThreshold} onFontSizeChange={onFontSizeChange} |