* Show basic balance info * Show bonded summary * Show redeemable summary * Show unbonding summary * Adopt linter suggestions * Hide cards with zero balance * Apply simplifications Co-authored-by: Jaco <jacogr@gmail.com> * Remove dead code * Simplify balance==undefined case * Add summary bar tests (#5890) * Add tests for summary bar * Improve test case name Co-authored-by: Krzysztof Jelski <kjelski@gmail.com> * Factor empty render into a beforeEach block * Improve name of helper variable Co-authored-by: Krzysztof Jelski <kjelski@gmail.com> * Construct correct instance for StakingLedger.active * Override only the relevant parts in each test case * Simplify test cases Co-authored-by: Krzysztof Jelski <kjelski@gmail.com> Co-authored-by: Jaco <jacogr@gmail.com> Co-authored-by: Krzysztof Jelski <kjelski@gmail.com> |
||
|---|---|---|
| .. | ||
| src | ||
| .skip-build | ||
| .skip-npm | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
@polkadot/react-hooks
WARNING: This is an internal package to polkadot-js/apps so is not inteded (yet) for broad use. Since these are generic components, they will move to the polkadot-js/ui repo once deemed stable and usable.
For the existing sharable components usable in external React-based projects, take a look at the polkadot-js/ui documentation