@polkadot/react-api
Version:
A collection of RxJs React components the Polkadot JS API
5 lines (4 loc) • 385 B
TypeScript
import { ApiProps } from '../types';
import { Options } from './types';
import React from 'react';
export default function withCall<P extends ApiProps>(endpoint: string, { at, atProp, callOnResult, fallbacks, isMulti, params, paramName, paramPick, paramValid, propName, skipIf, transform, withIndicator }?: Options): (Inner: React.ComponentType<ApiProps>) => React.ComponentType<any>;