product-sdk-pocket-cards
Author, check and draw a Pocket card face in product-sdk. Use when: adding a card to the Polkadot app's Pocket tab, writing a card face in JSX, turning a component into a RendererNode, a card draws blank or is refused, wiring a worker that draws a live card, or writing the static preview face the approval sheet shows. Covers @parity/product-sdk-react-renderer (JSX components, createRenderer, drawPocketCard), @parity/product-sdk-renderer (validateFace, assertFaceValid, host limits) and @parity/product-sdk-host (getPocketManager, card list, removal).
Pinned to revision ef5615e49580, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.