This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as Crank from '@bikeshaving/crank'; | |
import { renderer as dom } from '@bikeshaving/crank/dom'; | |
import { style } from 'typestyle'; | |
const redMaker = { color: 'red' }; | |
const bigFont = { fontSize: '30px' }; | |
const bigRedClass = style(redMaker, bigFont); | |
declare global { | |
interface Window { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import confetti from 'canvas-confetti'; | |
import * as Crank from "@bikeshaving/crank"; | |
import { renderer as dom } from "@bikeshaving/crank/dom"; | |
confetti.create(document.getElementById('canvas'), { | |
resize: true, | |
useWorker: true, | |
})({ particleCount: 200, spread: 200 }); | |