Skip to content

Instantly share code, notes, and snippets.

View ChristianMurphy's full-sized avatar

Christian Murphy ChristianMurphy

  • Unicon, Inc.
  • Phoenix
  • 12:21 (UTC -07:00)
View GitHub Profile
@ChristianMurphy
ChristianMurphy / machine.js
Last active April 27, 2021 15:51
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
// - XState (all XState exports)
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@ChristianMurphy
ChristianMurphy / machine.js
Created December 15, 2020 05:10
Generated by XState Viz: https://xstate.js.org/viz
Machine(
{
'id': "average-project",
'initial': "triage",
'states': {
'triage': {
'entry': "onlyLabel(open)",
'on': {
'close': 'wontFix',
'label(more-info)': 'needsMoreInfo' ,
@ChristianMurphy
ChristianMurphy / machine.js
Created December 15, 2020 04:22
Generated by XState Viz: https://xstate.js.org/viz
Machine(
{
id: "unified",
type: "parallel",
states: {
phase: {
initial: "new",
states: {
new: {
entry: ["addTag(phase/new)"],
@ChristianMurphy
ChristianMurphy / react-table.d.ts
Last active October 3, 2019 03:22 — forked from berdyshev/react-table.d.ts
React Table v7 TS typings definition
// Type definitions for react-table 7
// Project: https://github.com/tannerlinsley/react-table#readme
// Definitions by: Adrien Denat <https://github.com/grsmto>
// Artem Berdyshev <https://github.com/berdyshev>
// Christian Murphy <https://github.com/ChristianMurphy>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0
import { Dispatch, SetStateAction, ReactNode } from 'react';