Skip to content

Instantly share code, notes, and snippets.

View Cmion's full-sized avatar
💭
Open for any Javascript open source projects

Simeon Akpanudo Cmion

💭
Open for any Javascript open source projects
View GitHub Profile
import React, { Component } from 'react';
import { StyleSheet, View } from 'react-native';
import { PanGestureHandler, State } from 'react-native-gesture-handler';
import Animated from 'react-native-reanimated';
function Snappable() {
const dragStartX = useSharedValue(0);
const translateX = useSharedValue(0);
const boxStyle = useAnimatedStyle(
@erdem
erdem / countries.json
Last active November 17, 2025 08:39
Country list as JSON format. fields: name, coordinates, timezones, country code and capital resource: https://github.com/mledoze/countries
[
{
"timezones": [
"America/Aruba"
],
"latlng": [
12.5,
-69.96666666
],
"name": "Aruba",