Skip to content

Instantly share code, notes, and snippets.

@gillkyle
Created April 10, 2020 15:55
Show Gist options
  • Save gillkyle/50949d56409c338b427984c8e223034b to your computer and use it in GitHub Desktop.
Save gillkyle/50949d56409c338b427984c8e223034b to your computer and use it in GitHub Desktop.
page transition example
import React from "react"
import AniLink from "gatsby-plugin-transition-link/AniLink";
export default () => (
<div>
This is an example page! Click on this link to test an animation:
<AniLink fade to="/transition-paint-drip">
Fade to another page
</AniLink>
</div>
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment