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 { FunctionComponent } from "react"; | |
| type Undraw = { | |
| /** | |
| * Hex color | |
| * @default #43d1a0 | |
| */ | |
| accentColor?: _propTypes2.default.string; | |
| /** | |
| * custom class for svg |
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 { createAppContainer, createStackNavigator } from "react-navigation"; | |
| import { DetailScreen } from "../screens/detail_screen"; | |
| import { HomeScreen } from "../screens/home_screen"; | |
| import { ModalScreen } from "../screens/modal_screen"; | |
| export enum ROUTES { | |
| RootMain = "RootMain", | |
| RootModal = "RootModal", | |
| RootDetails = "RootDetails", | |
| ModalMain = "ModalMain", |
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 { createAppContainer, createStackNavigator } from "react-navigation"; | |
| import { DetailScreen } from "../screens/detail_screen"; | |
| import { HomeScreen } from "../screens/home_screen"; | |
| import { ModalScreen } from "../screens/modal_screen"; | |
| export enum ROUTES { | |
| RootMain = "RootMain", | |
| RootModal = "RootModal", | |
| RootDetails = "RootDetails", | |
| ModalMain = "ModalMain", |
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 { createAppContainer, createStackNavigator } from "react-navigation"; | |
| import { DetailScreen } from "../screens/detail_screen"; | |
| import { HomeScreen } from "../screens/home_screen"; | |
| import { ModalScreen } from "../screens/modal_screen"; | |
| export enum ROUTES { | |
| RootMain = "RootMain", | |
| RootModal = "RootModal", | |
| RootDetails = "RootDetails", | |
| ModalMain = "ModalMain", |
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, { PureComponent } from "react"; | |
| import { GestureResponderEvent, StyleSheet, Text, View } from "react-native"; | |
| import Icon from "react-native-vector-icons/MaterialCommunityIcons"; | |
| import { | |
| NavigationScreenProps, | |
| NavigationStackScreenOptions | |
| } from "react-navigation"; | |
| import { ROUTES } from "../../routes"; | |
| /** |
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, { PureComponent } from "react"; | |
| import { GestureResponderEvent, StyleSheet, Text, View } from "react-native"; | |
| import Icon from "react-native-vector-icons/MaterialCommunityIcons"; | |
| import { | |
| NavigationScreenProps, | |
| NavigationStackScreenOptions | |
| } from "react-navigation"; | |
| import { ROUTES } from "../../routes"; | |
| /** |
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, { PureComponent } from "react"; | |
| import { StyleSheet, Text, View } from "react-native"; | |
| import { NavigationScreenProps } from "react-navigation"; | |
| /** | |
| * The Details screen | |
| */ | |
| export class DetailScreen extends PureComponent<NavigationScreenProps> { | |
| render() { | |
| return ( |
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
| // Place your settings in this file to overwrite default and user settings. | |
| { | |
| "editor.formatOnSave": true, | |
| "editor.codeActionsOnSave": { | |
| "source.organizeImports": true | |
| }, | |
| "typescript.format.enable": false, | |
| "javascript.format.enable": false, | |
| "typescript.implementationsCodeLens.enabled": true, | |
| "editor.trimAutoWhitespace": true, |
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
| { | |
| // See http://go.microsoft.com/fwlink/?LinkId=827846 | |
| // for the documentation about the extensions.json format | |
| "recommendations": [ | |
| // Extension identifier format: ${publisher}.${name}. Example: vscode.csharp | |
| "ms-vscode.vscode-typescript-tslint-plugin", | |
| "esbenp.prettier-vscode", | |
| "codezombiech.gitignore" | |
| ] | |
| } |
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
| { | |
| "extends": [ | |
| "tslint:recommended", | |
| "tslint-config-standard", | |
| "tslint-etc", | |
| "tslint-react", | |
| "tslint-react-hooks", | |
| "tslint-config-prettier" | |
| ], | |
| "rules": { |