import React from 'react'; import { Query } from './Query'; interface Props { withQuery({ gasLimit }: { gasLimit: string | null }): React.ReactElement; } export const GasQuery: React.SFC = ({ withQuery }) => ( withQuery({ gasLimit: limit || gaslimit }) } /> );