Skip to content

Instantly share code, notes, and snippets.

View aliakakis's full-sized avatar

Antonios Liakakis aliakakis

View GitHub Profile
import React, {Component, PropTypes} from 'react';
import Animate from 'grommet/components/Animate';
export const RouteTransition = (options = {"animation": "fade", "duration": 1000, "delay": 0}) => (TargetComponent) => {
class EnhanceComponent extends Component {
constructor(props) {
super(props);
}
render() {