1.1.0 • Published 3 years ago

tracer-motion v1.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

 

install

npm install tracer-motion --save-dev

# or

yarn add tracer-motion --dev

 

usage

import { motion } from 'framer-motion';
+ import { tracer } from 'tracer-motion';

function App() {
  return (
    <>
      <div>
-       <motion.div
+       <tracer.div
          className="box"
          initial={{ x: 0, rotate: 0 }}
          animate={{ x: 400, rotate: 180 }}
          transition={{ type: 'spring', stiffness: 50 }}
        />
      </div>
    </>
  );
}

 

like it?

:star: this repo

 

license

MIT © siddharthkp

1.1.0

3 years ago

1.0.0

3 years ago

0.0.1

3 years ago