Reakit Playground
npm:
``sh`
npm i reakit-playground
Yarn:
`sh`
yarn add reakit-playground
`jsx
import React from "react";
import ReactDOM from "react-dom";
import {
usePlaygroundState,
PlaygroundEditor,
PlaygroundPreview,
} from "reakit-playground";
const initialCode = import React from "react";
import { Provider, Button } from "reakit";
function Example() {
return (
);
};
function App() {
const playground = usePlaygroundState({ code: initialCode });
return (
ReactDOM.render(
``
MIT © Diego Haz