Created
May 22, 2019 19:51
-
-
Save ruucm-working/56704089b9154affe068c6e3634666ce to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /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