JSPM

  • Created
  • Published
  • Downloads 112
  • Score
    100M100P100Q77717F
  • License MIT

Grafast-flavoured GraphiQL distribution; the underlying React components

Package Exports

  • ruru-components
  • ruru-components/ruru.css

Readme

ruru-components

The React components behind ruru, in case you want to embed Ruru into an existing React project.

PRERELEASE: this is pre-release software; use at your own risk and do not embed into public-facing projects. This will likely change a lot before it's ultimately released. The pre-release nature also explains the shocking lack of documentation.

Usage

For other usage patterns, please see the main ruru package.

import { Ruru } from "ruru-components";
import "graphiql/graphiql.css";
import "@graphiql/plugin-explorer/dist/style.css";
import "ruru-components/ruru.css";

React.render(<Ruru endpoint="/graphql" />);

GNU Terry Pratchett