import React from 'react'; import translate from 'translations'; import { gasLimitValidator } from 'libs/validators'; import { Input } from 'components/ui'; import { InlineSpinner } from 'components/ui/InlineSpinner'; import { GasLimitFieldFactory } from './GasLimitFieldFactory'; import './GasLimitField.scss'; interface Props { customLabel?: string; disabled?: boolean; hideGasCalculationSpinner?: boolean; } export const GasLimitField: React.SFC = ({ customLabel, disabled, hideGasCalculationSpinner }) => ( (