This file contains hidden or 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
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: inherit; | |
| } | |
| html { | |
| font-size: 62.5%; | |
| @include respond(tab-land) { // width < 1200px |
This file contains hidden or 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 EStyleSheet from "react-native-extended-stylesheet"; | |
| import { fonts } from '../../assets/themes'; | |
| import { getStatusBarHeight } from '../helpers/GetStatusBarHeight'; | |
| export const GlobalStyles = EStyleSheet.create({ | |
| // * Typhography Font Gilroy | |
| gilroyLight8: { | |
| fontFamily: fonts.gilroyLight, | |
| fontSize: '7.5rem' | |
| }, |
This file contains hidden or 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 from 'react' | |
| import { View, StatusBar, ViewPropTypes, TouchableWithoutFeedback, Keyboard } from 'react-native' | |
| import PropTypes from 'prop-types'; | |
| // * Components & Styling | |
| import { Container, Content } from 'native-base'; | |
| import { GlobalStyles } from '../../public/styles/GlobalStyles'; | |
| import { onBoardData } from '../../public/constants/GlobalConstant'; | |
| import CActionBar from '../CActionBar'; |
This file contains hidden or 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 { Dimensions, Platform, StatusBar } from 'react-native'; | |
| const X_WIDTH = 375; | |
| const X_HEIGHT = 812; | |
| const XSMAX_WIDTH = 414; | |
| const XSMAX_HEIGHT = 896; | |
| const { height: W_HEIGHT, width: W_WIDTH } = Dimensions.get('window'); |
This file contains hidden or 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
| upload(files) { | |
| const config = { | |
| onUploadProgress: function(progressEvent) { | |
| var percentCompleted = Math.round((progressEvent.loaded * 100) / progressEvent.total) | |
| console.log(percentCompleted) | |
| } | |
| } | |
| let data = new FormData() | |
| data.append('file', files[0]) |
This file contains hidden or 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 from 'react' | |
| import { View, Text, TouchableOpacity } from 'react-native' | |
| import PropTypes from 'prop-types'; | |
| const Timer = () => { | |
| const [durations, setDurations] = useState({ | |
| minutes: '00', | |
| seconds: '00', | |
| }); |
This file contains hidden or 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
| fastlane_version "2.154.0" | |
| before_all do |lane, options| | |
| ensure_git_branch(branch: 'YOUR_BRANCH') | |
| ensure_git_status_clean | |
| git_pull | |
| end | |
| platform :android do | |
| desc "Get list of version on build gradle" |
This file contains hidden or 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
| function parseNumFormat(amount) { | |
| if(amount) { | |
| return amount.toString().replace(/\B(?=(\d{3})+(?!\d))/g, '.'); | |
| } else { | |
| return 0 | |
| } | |
| } |
This file contains hidden or 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 { ImageStyle, TextStyle, ViewStyle } from "react-native" | |
| import EStyleSheet from "react-native-extended-stylesheet" | |
| type Function<K> = () => K | |
| type Value<T> = T | string & {} | |
| type Variable<T> = Value<T> | Function<Value<T>> | |
| type Extended<T> = { [K in keyof T]: Variable<T[K]> } | |
| type AnyStyle = ImageStyle & TextStyle & ViewStyle | |
| type AnyStyleSet = { [key: string]: AnyStyle } |