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 { motion } from "framer-motion"; | |
function HeroHeading(props) { | |
let heading_text = props.heading_text; | |
const variants = { | |
initial: { y: 30, opacity: 0 }, | |
enter: { y: 0, opacity: 1, transition: { duration: 0.25 } } | |
}; | |
let character_array = heading_text.split(""); | |
const framer_spans = character_array.map((c, i) => ( |
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 { | |
Editor, | |
EditorState, | |
RichUtils, | |
AtomicBlockUtils, | |
CompositeDecorator | |
} from "draft-js"; | |
import Button from "@material-ui/core/Button"; | |
import Icon from "@material-ui/core/Icon"; |