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 { Component, OnInit, Input } from '@angular/core'; | |
| import { Product } from '../../models/product'; | |
| @Component({ | |
| selector: 'app-product', | |
| template: `<div> | |
| <img [src]="pData.productImage" /> | |
| <h3>{{ pData.productName }}</h3> | |
| <h4>{{ pData.productPrice }}</h4> | |
| <button *ngIf="pData.productStock;else nostock"> |
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 { StyleSheet } from 'react-native'; | |
| import { Content, Item, Input } from 'native-base'; | |
| import { Grid, Col } from 'react-native-easy-grid'; | |
| class OtpInputs extends React.Component { | |
| state={otp:[]}; | |
| otpTextInput = []; | |
| componentDidMount() { |
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
| //....... | |
| "scripts": { | |
| "build:prod": "cpy environments/environment.prod.js config --rename=index.js && npm run start", | |
| "build:dev": "cpy environments/environment.dev.js config --rename=index.js && npm run start", | |
| "build:staging": "cpy environments/environment.staging.js config --rename=index.js && npm run start" | |
| } | |
| //..... |
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
| const environment = { | |
| mode: 'staging' | |
| } | |
| /*const environment = { | |
| mode: 'production' | |
| }*/ | |
| /*const environment = { | |
| mode: 'development' |
NewerOlder