Skip to content

Instantly share code, notes, and snippets.

View tronghieu60s's full-sized avatar
🔥
Focusing!

Trọng Hiếu tronghieu60s

🔥
Focusing!
View GitHub Profile
import React, { useCallback, useEffect, useRef, useState } from 'react';
type IOProps = {
ref: React.RefObject<any>;
};
type Props = {
skeleton?: React.ReactNode;
skeletonDuration?: number;
options?: {
/**
* Design belike this video:
* https://youtu.be/zM3l9jpt5PU
*/
import React, {useEffect} from 'react';
import {Animated, Dimensions, Easing, StyleSheet, View as DefaultView} from 'react-native';
import LinearGradient from 'react-native-linear-gradient';
const width = Dimensions.get('window').width;
const electron = require('electron');
// Module to control application life.
const app = electron.app;
// Module to create native browser window.
const BrowserWindow = electron.BrowserWindow;
const path = require('path');
const url = require('url');
// Keep a global reference of the window object, if you don't, the window will

Keybase proof

I hereby claim:

  • I am tronghieu60s on github.
  • I am tronghieu60s (https://keybase.io/tronghieu60s) on keybase.
  • I have a public key ASCGwbCZ1uCIrFNsmNUrrLbaJ4tsrJDIHUyxPHY4y75jowo

To claim this, I am signing this object: