import React from 'react';
import { GasLimitFieldFactory } from './GasLimitFieldFactory';
import translate from 'translations';
import { CSSTransition } from 'react-transition-group';
import { Spinner } from 'components/ui';
import { gasLimitValidator } from 'libs/validators';
interface Props {
includeLabel: boolean;
onlyIncludeLoader: boolean;
}
export const GaslimitLoading: React.SFC<{ gasEstimationPending: boolean }> = ({
gasEstimationPending
}) => (
Calculating gas limit
);
export const GasLimitField: React.SFC = ({ includeLabel, onlyIncludeLoader }) => (
{includeLabel ? : null}
(
<>
{onlyIncludeLoader ? null : (
)}
>
)}
/>
);