Skip to content

Instantly share code, notes, and snippets.

View rafaeluzzi's full-sized avatar

Uzzi rafaeluzzi

View GitHub Profile
import React from 'react'
import { Dimensions, Animated, View, Easing, Platform } from 'react-native'
import PropTypes from 'prop-types'
/**
* DismissableScrollview
* Will dismiss element when the user scrolls from the top and there is no more vertical
* scrolling available.
*/
export default class DismissableScrollview extends React.Component {
@AlexBrasileiro
AlexBrasileiro / index.js
Last active November 17, 2024 01:09
ShareYourFeedback
// inspiration: https://dribbble.com/shots/4370657-Share-Your-Feedback
import React, { Component, Fragment } from "react";
import { Animated, StyleSheet, Text, View, TouchableOpacity, Dimensions, Platform, Easing, TextInput, KeyboardAvoidingView, Image } from "react-native";
import FontAwesome5 from 'react-native-vector-icons/FontAwesome5';
const { width: windowWidth } = Dimensions.get('window');
const Icon = (props) => <FontAwesome5 {...props} />