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
<!DOCTYPE html> | |
<html > | |
<head> | |
<meta charset="UTF-8"> | |
<title>Code Pen · 1</title> | |
<link rel="stylesheet" href="http://codepen.io/stylesheets/css/reset.css"> | |
<style> |
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
const Form = t.form.Form; | |
const postOptions = t.struct({ | |
publication: t.String, | |
tags: t.String, | |
more: t.String, | |
facebook: t.Boolean | |
}) | |
const options = { |
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
{ | |
"parser": "babel-eslint", | |
"env": { | |
"browser": true, | |
"es6": true | |
}, | |
"extends": [ | |
"eslint:recommended", | |
"plugin:react/recommended" | |
], |
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
._bg1 { background-color: aliceblue } | |
._bg2 { background-color: antiquewhite } | |
.noSelect { | |
-webkit-touch-callout: none; | |
-webkit-user-select: none; | |
-khtml-user-select: none; | |
-moz-user-select: none; | |
-ms-user-select: none; | |
user-select: none; |
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
{ | |
"exclude": [ | |
".git/**", | |
"node_modules/**", | |
"bower_components/**" | |
], | |
"sort-order": [ [ | |
"content", | |
"display", | |
"flex-direction", |
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
import { View, UIManager, LayoutAnimation, Platform } from 'react-native' | |
/* | |
Colors | |
For extras colors use their name: | |
http://chir.ag/projects/name-that-color | |
*/ | |
export const Colors = { |
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
import Animated, { useSharedValue, withTiming, withSpring, useAnimatedStyle, interpolate, Easing, Extrapolate } from "react-native-reanimated"; | |
import { View, Button } from "react-native"; | |
import React from "react"; | |
export default function AnimatedStyleUpdateExample(props) { | |
const randomWidth = useSharedValue(50); | |
const randomHeight = useSharedValue(50); | |
const randomColor = useSharedValue(1); | |
const animatedStyle = useAnimatedStyle(() => { |
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
import Animated, { onGestureEvent, useSharedValue, withTiming, withDecay, withSpring, useAnimatedStyle, interpolate, Easing, Extrapolate, interpolateColor, useAnimatedGestureHandler } from "react-native-reanimated"; | |
import { PanGestureHandler } from 'react-native-gesture-handler'; | |
import { Dimensions, StyleSheet, View } from "react-native"; | |
import React, { useEffect, useRef } from "react"; | |
import { useCreditCard } from "./Hooks/useCreditCard"; | |
import { Card } from './Shared/Card'; | |
const { width, height } = Dimensions.get('window'); | |
export default function FirstLook(props) { |
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
import React, { useEffect, useRef } from "react"; | |
import { Dimensions, View } from "react-native"; | |
import Animated, { useSharedValue, withTiming, useAnimatedStyle, useAnimatedProps } from "react-native-reanimated"; | |
import Svg, { Polygon } from 'react-native-svg' | |
const { width, height } = Dimensions.get('window'); | |
const MAXBALLS = 100; | |
const BALL_SIZE = 10; | |
const ballsArray = [...Array(MAXBALLS)]; |
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
import React, { useRef, useState } from 'react'; | |
import { Animated, FlatList, StyleSheet } from 'react-native'; | |
import { Box, Button, Text, Touchable } from '@app/components'; | |
import { Colors, Grid, Sizes } from '@app/utils/const/theme'; | |
import { viewPort } from '@app/utils'; | |
const initialPosition = viewPort.height.full - 300; | |
const MapSheet = ({ |
OlderNewer