Skip to content

Instantly share code, notes, and snippets.

View colindjk's full-sized avatar

Colin colindjk

  • VT
View GitHub Profile
@colindjk
colindjk / ProgressBar.jsx
Created March 18, 2021 13:57
Generic ProgressBar
import React, { FC } from 'react';
import cx from 'classnames';
import styles from './index.module.scss';
import PropTypes from 'prop-types';
// XXX: These are 'JSDocs', and allow you to define types without using TypeScript.
/**
# Example config where two `Function`s use the same underlying function
# but will have different results based on parameters.
# `function handler(event, context)`
Globals:
# Definitions used by all `AWS::Serverless::Function`s.
Function:
Runtime: nodejs12.x
Timeout: 180
# Directory where the callable function is stored.
CodeUri: src/