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