material-go-playground
v0.2.10
Published
React Material UI component for Golang playground
Downloads
27
Maintainers
Readme
React Material UI Component for Golang playground
Install
yarn add material-go-playground
Usage
import React from "react";
import { render } from "react-dom";
import GoPlayground from "material-go-playground";
const code = `package main
import (
"fmt"
)
func main() {
fmt.Println("Hello, playground")
}`;
function App() {
return <GoPlayground code={code}/>
}
render(
<App/>,
document.getElementById("root"),
);