Skip to content

Instantly share code, notes, and snippets.

View alexbrillant's full-sized avatar
🎯
Focusing

Alexandre Brillant alexbrillant

🎯
Focusing
  • Québec, Canada
View GitHub Profile
handlePress () {
this.circleTransition.start()
}
@alexbrillant
alexbrillant / gist:85da8019acf13d7aa7b2a3547e3d870f
Created February 16, 2017 00:17
Trigger circle transition animation
handlePress () {
this.circleTransition.start()
}
@alexbrillant
alexbrillant / CircleTransitionRendering.js
Created February 16, 2017 00:10
CircleTransitionRendering
<CircleTransition
  ref={circle => this.circleTransition = circle}
  color={‘blue’}
  expand={true}
  callback={() => {
  // change the scene here. the callback will be called before the circle is hidden 
  }}
/>