Skip to content

Instantly share code, notes, and snippets.

@koss-lebedev
Created July 23, 2019 09:00
Show Gist options
  • Save koss-lebedev/ed620a73ac574e00060cfaafa9649855 to your computer and use it in GitHub Desktop.
Save koss-lebedev/ed620a73ac574e00060cfaafa9649855 to your computer and use it in GitHub Desktop.
import { motion } from "framer-motion";
const One = () => (
<motion.div
className="rectangle"
animate={{
opacity: 0.5,
background: "#ff00b1"
}}
/>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment