Bring up numeric keyboards on mobile

This commit is contained in:
Austin Chen 2022-01-31 17:05:01 -08:00
parent 7549cf6a89
commit 6234b12f89

View File

@ -60,7 +60,7 @@ export function AmountInput(props: {
inputClassName inputClassName
)} )}
ref={inputRef} ref={inputRef}
type="text" type="number"
placeholder="0" placeholder="0"
maxLength={9} maxLength={9}
value={amount ?? ''} value={amount ?? ''}