Skip to content

Instantly share code, notes, and snippets.

Gagandeep Singh gagangoku

Block or report user

Report or block gagangoku

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ProtobufEditor.js
render() {
const { classes } = this.props
if (this.state.numCalls != 2) {
return (<div>Loading</div>) // Html
return (
<Paper className={classes.root}>
<div>Details for id {(new URL(document.location)).searchParams.get('id')}</div>
View DescriptorWidget.js
import React, { Fragment } from 'react'
import { withStyles } from '@material-ui/core/styles'
import fetchJsonp from 'fetch-jsonp'
import TextField from '@material-ui/core/TextField'
import Select from '@material-ui/core/Select'
import FormControl from '@material-ui/core/FormControl'
import InputLabel from '@material-ui/core/InputLabel'
import MenuItem from '@material-ui/core/MenuItem'
import Button from '@material-ui/core/Button'
You can’t perform that action at this time.