import React from 'react'; import { connect } from 'react-redux'; import { translateRaw } from 'translations'; import { Wei } from 'libs/units'; import { EAC_SCHEDULING_CONFIG } from 'libs/scheduling'; import { AppState } from 'features/reducers'; import { scheduleActions, scheduleSelectors } from 'features/schedule'; import { transactionNetworkSelectors } from 'features/transaction'; import { Input, InlineSpinner } from 'components/ui'; interface OwnProps { gasEstimationPending: boolean; scheduleGasLimit: any; validScheduleGasLimit: boolean; } interface DispatchProps { setScheduleGasLimitField: scheduleActions.TSetScheduleGasLimitField; } type Props = OwnProps & DispatchProps; class ScheduleGasLimitFieldClass extends React.Component { public render() { const { gasEstimationPending, scheduleGasLimit, validScheduleGasLimit } = this.props; return (