@stellar/open-rpc-docs-react
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

@stellar/open-rpc-docs-react

OpenRPC documentation as a react component.

This Stellar-specific package was forked from @metamask/open-rpc-docs-react

What is this?

This is a react component that will render documentation for a given OpenRPC document.

How do I use this?

Installation

npm install --save @stellar/open-rpc-docs-react

Usage

import Method from '@stellar/open-rpc-docs-react';

and then use it somewhere in a project:

<Method method={method} />

Development

Linking

When linking this project with others, use yarn link:setup to avoid getting errors about hooks / multiple react versions.

/@stellar/open-rpc-docs-react/

    Package Sidebar

    Install

    npm i @stellar/open-rpc-docs-react

    Weekly Downloads

    51

    Version

    0.2.1

    License

    Apache-2.0

    Unpacked Size

    340 kB

    Total Files

    62

    Last publish

    Collaborators

    • stellar-npm-ci
    • stellar-npm
    • bartekn
    • quietbits
    • jacekn
    • fnando_sdf
    • cassiomg
    • piyalbasu