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 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. | |
/** |
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
# 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/ |