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 { useState } from 'react'; | |
import { | |
motion, | |
} from "framer-motion"; | |
import styled from 'styled-components'; | |
const ToggleContainer = styled(motion.div)` | |
position: fixed; | |
top: 0; |
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 { FC, useEffect } from "react"; | |
interface HouseItems { | |
Rooms: { | |
master: { | |
masterBath: boolean | null, | |
} | |
} | |
} |
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 { useEffect, useState } from "react"; | |
import { | |
motion, | |
useViewportScroll, | |
useSpring, | |
useTransform, | |
} from "framer-motion"; | |
import styled from 'styled-components'; | |
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 { useEffect, useState } from "react"; | |
import { | |
motion, | |
useViewportScroll, | |
useSpring, | |
useTransform, | |
AnimatePresence | |
} from "framer-motion"; | |
import styled from 'styled-components'; | |
import { Span } from "./Span"; |
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 { useState } from 'react'; | |
import { motion, AnimatePresence } from 'framer-motion'; | |
import styled from 'styled-components'; | |
import useCountdown from "@bradgarropy/use-countdown" | |
import Confetti from "react-confetti"; | |
const CountDownContainer = styled(motion.div)` | |
position: fixed; | |
top: 0; | |
right: 0; |
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 { useState } from 'react'; | |
import { motion, AnimatePresence } from 'framer-motion'; | |
import styled from 'styled-components'; | |
import useCountdown from "@bradgarropy/use-countdown" | |
import Confetti from "react-confetti"; | |
const CountDownContainer = styled(motion.div)` | |
position: fixed; | |
top: 0; | |
right: 0; |
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 { useState } from 'react'; | |
import { motion } from 'framer-motion'; | |
import styled from 'styled-components'; | |
const Loader = styled(motion.div)` | |
position: fixed; | |
top: 0; | |
right: 0; | |
left: 0; |
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 { motion } from 'framer-motion'; | |
import styled from 'styled-components'; | |
const Loader = styled(motion.div)` | |
position: fixed; | |
top: 0; | |
right: 0; | |
left: 0; | |
bottom: 0; |
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 { useState, useEffect, ReactElement } from 'react'; | |
function App(): ReactElement { | |
const [password, setPassword] = useState({ | |
firstPassword: '', | |
secondPassword: '' | |
}) | |
const [validLength, setValidLength] = useState(false); | |
const [hasNumber, setHasNumber] = useState(false); |
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
const inputChange: (event: React.ChangeEvent<HTMLInputElement>) => void = (event) => { | |
const { value, name } = event.target; | |
setPassword({ | |
...password, | |
[name]: value | |
}) | |
} |
NewerOlder