* Add `fallback` option to ui-api to pass more than one endpoint for backwards compatibility * set correct endpoint * remove console.logs * linting issues * const -> consts typo * changed query example to blockPeriod * turn `fallback`: string[] | string into fallbacks array * turn while loop into map * less params & removed let * Adjust withCall typing, don't allow voting in treasury |
||
|---|---|---|
| .. | ||
| src | ||
| test | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| webpack.config.js | ||
@polkadot/ui-api
WARNING: This is is not deemed stable yet for external use in React-based apps and still included in the polkadot-js/apps repo. Since these are generic HOC components for React, they will move to the polkadot-js/ui repo once deemed stable and usable by external projects.
For the existing sharable components usable in external React-based projects, take a look at the polkadot-js/ui documentation