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
{ | |
"printWidth": 80, | |
"tabWidth": 2, | |
"useTabs": false, | |
"semi": false, | |
"singleQuote": true, | |
"trailingComma": "none", | |
"bracketSpacing": true, | |
"jsxBracketSameLine": false, | |
"fluid": false |
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
{ | |
"editor.accessibilitySupport": "off", | |
"workbench.colorCustomizations": {}, | |
"editor.fontFamily": "CommitMono", | |
"extensions.ignoreRecommendations": true, | |
"window.commandCenter": true, | |
"workbench.colorTheme": "Vitesse Light", | |
"[typescriptreact]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, |
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 { useEffect, useState, useCallback } from "react"; | |
import { motion } from "framer-motion"; | |
import { Icon } from "@iconify/react"; | |
type Props = { | |
images: string[]; | |
isAutoPlay?: boolean; | |
}; | |
const variants = { |