Skip to content

Instantly share code, notes, and snippets.

View xplato's full-sized avatar

Tristan B. xplato

View GitHub Profile
package main
import (
"os"
"github.com/arduino/go-paths-helper"
log "github.com/sirupsen/logrus"
)
func GetDefaultHomeDir() *paths.Path {
import React, {
Children,
cloneElement,
HTMLAttributes,
isValidElement,
} from "react"
interface Schema {
[key: string]:
| HTMLAttributes<any>
import { createContext, useContext } from "react"
import { Children } from "types"
interface State {}
export const Context = createContext<State>({})
interface Props extends Children {}