diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-21 02:36:23 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-21 02:36:23 +0800 |
commit | 2bda6dd719d748a4bfa5ff8e23e97924e0258af1 (patch) | |
tree | 0f7715a53995e79c400afab810fa8a194ca28299 /packages/instant/src/components/scaling_amount_input.tsx | |
parent | cd4600b081b9ee467471174fe6736efab6247759 (diff) | |
download | dexon-0x-contracts-2bda6dd719d748a4bfa5ff8e23e97924e0258af1.tar.gz dexon-0x-contracts-2bda6dd719d748a4bfa5ff8e23e97924e0258af1.tar.zst dexon-0x-contracts-2bda6dd719d748a4bfa5ff8e23e97924e0258af1.zip |
autofocus -> hasAutoFocus
Diffstat (limited to 'packages/instant/src/components/scaling_amount_input.tsx')
-rw-r--r-- | packages/instant/src/components/scaling_amount_input.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/instant/src/components/scaling_amount_input.tsx b/packages/instant/src/components/scaling_amount_input.tsx index 3395cded1..0861bbe05 100644 --- a/packages/instant/src/components/scaling_amount_input.tsx +++ b/packages/instant/src/components/scaling_amount_input.tsx @@ -18,7 +18,7 @@ export interface ScalingAmountInputProps { value?: BigNumber; onAmountChange: (value?: BigNumber) => void; onFontSizeChange: (fontSizePx: number) => void; - autofocus: boolean; + hasAutofocus: boolean; } interface ScalingAmountInputState { stringValue: string; @@ -30,7 +30,7 @@ export class ScalingAmountInput extends React.Component<ScalingAmountInputProps, onAmountChange: util.boundNoop, onFontSizeChange: util.boundNoop, isDisabled: false, - autofocus: false, + hasAutofocus: false, }; public constructor(props: ScalingAmountInputProps) { super(props); @@ -66,7 +66,7 @@ export class ScalingAmountInput extends React.Component<ScalingAmountInputProps, placeholder="0.00" emptyInputWidthCh={3.5} isDisabled={this.props.isDisabled} - autofocus={this.props.autofocus} + hasAutofocus={this.props.hasAutofocus} /> ); } |