This file contains 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
// Setup for use with enzyme | |
// Patching console.error so test will fail | |
const Enzyme = require('enzyme'); | |
const Adapter = require('enzyme-adapter-react-16'); | |
Enzyme.configure({ adapter: new Adapter() }); | |
//fix redux saga test plan which needs setTimeout on window | |
global.window.setTimeout = global.setTimeout; |
This file contains 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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions | |
// - XState (all XState exports) |
This file contains 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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions | |
// - XState (all XState exports) |
This file contains 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
// | |
// Paste into: https://xstate.js.org/viz/ | |
// Trying out a state chart to model the idea flow | |
// | |
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send |
This file contains 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, {FunctionComponent, useEffect, useRef, useState} from "react"; | |
import {Animated, Easing, TouchableOpacity} from "react-native"; | |
import {theme} from "../../const/theme"; | |
export const Link: FunctionComponent<{ | |
onPress: () => void, | |
useUnderline?: boolean | |
a11yLabel: string, | |
isExternalLink: boolean | |
}> = ({ |
OlderNewer