You may want to employ the Parcel backed boilerplate that implements the solution described below.
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 from 'react'; | |
| import Jumbotron from 'react-bootstrap/Jumbotron'; | |
| import Alert from 'react-bootstrap/Alert'; | |
| import Button from 'react-bootstrap/Button'; | |
| import { FallbackProps } from 'react-error-boundary'; | |
| interface AEFProps extends FallbackProps { |
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 { Data, Override } from "framer" | |
| const state = Data({ | |
| doubleTapIndex: 0, | |
| doubleTapTimer: setTimeout(null, null), | |
| longPress: false, | |
| longPressTimer: setTimeout(null, null), | |
| }) | |
| export function doubleTap(): Override { |