Skip to content

Instantly share code, notes, and snippets.

@ruucm-working
Created May 22, 2019 19:51
Show Gist options
  • Save ruucm-working/56704089b9154affe068c6e3634666ce to your computer and use it in GitHub Desktop.
Save ruucm-working/56704089b9154affe068c6e3634666ce to your computer and use it in GitHub Desktop.
--- /dev/null
+++ b/tinder-swipe.framerfx/code/App.tsx
@@ -0,0 +1,16 @@
+import { Override } from 'framer'
+
+// Override Docs: https://framer.com/docs/overrides
+
+export function Card(): Override {
+ return {
+ drag: true,
+ dragConstraints: {
+ top: 0,
+ bottom: 0,
+ left: 0,
+ right: 0,
+ },
+ dragElastic: 1,
+ }
+}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment