Skip to content

OpenRPC documentation as a react component

Notifications You must be signed in to change notification settings

MetaMask/open-rpc-docs-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

github-actions[bot]github-actions
and
github-actions
May 7, 2024
603a57b · May 7, 2024
May 30, 2023
May 29, 2023
May 29, 2023
Jun 19, 2023
May 31, 2023
May 29, 2023
May 29, 2023
May 29, 2023
May 29, 2023
May 29, 2023
May 29, 2023
May 29, 2023
May 7, 2024
Jun 8, 2023
May 29, 2023
May 31, 2023
May 7, 2024
May 29, 2023
May 29, 2023
May 29, 2023
May 7, 2024

Repository files navigation

@metamask/open-rpc-docs-react

OpenRPC documentation as a react component

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 @metamask/open-rpc-docs-react
Usage:
import Method from "@metamask/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.