// Copyright 2017-2021 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ApiProps, SubtractProps } from '../types'; import type { Options } from './types'; import React from 'react'; import withCall from './call'; type Call = string | [string, Options]; export default function withCalls
(...calls: Call[]): (Component: React.ComponentType
) => React.ComponentType ): React.ComponentType