Skip to content

Instantly share code, notes, and snippets.

import React, { Component } from 'react';
export default class App extends Component {
constructor() {
super();
this.state = {
animating: false,
visible: false,
import React, { Component } from 'react';
import { TransitionMotion, spring } from 'react-motion';
const leavingSpringConfig = { stiffness: 60, damping: 15 };
export default class Ripple extends Component {
constructor(props) {
super(props);
this.state = {
mouse: [],