Last change
on this file since 527b93f was dbd4834, checked in by Marko <Marko@…>, 22 months ago |
Homepage, login and register components added
|
-
Property mode
set to
100644
|
File size:
1.2 KB
|
Rev | Line | |
---|
[dbd4834] | 1 | import React, { Component } from 'react'
|
---|
| 2 |
|
---|
| 3 | export class PhoneOfferComponent extends Component {
|
---|
| 4 |
|
---|
| 5 | constructor(props) {
|
---|
| 6 | super(props)
|
---|
| 7 |
|
---|
| 8 | this.state = {
|
---|
| 9 |
|
---|
| 10 | }
|
---|
| 11 | }
|
---|
| 12 |
|
---|
| 13 |
|
---|
| 14 | render() {
|
---|
| 15 | console.log(this.props)
|
---|
| 16 | return (
|
---|
| 17 | <tr className='phone-with-offers-table-row'>
|
---|
| 18 | <td>{this.props.offer_shop}</td>
|
---|
| 19 | <td><a href={this.props.offer_url}>{this.props.offer_name}</a></td>
|
---|
| 20 | <td>{this.props.price} ден.</td>
|
---|
| 21 | <td></td>
|
---|
| 22 | </tr>
|
---|
| 23 | )
|
---|
| 24 | }
|
---|
| 25 | }
|
---|
| 26 |
|
---|
| 27 | export default PhoneOfferComponent
|
---|
| 28 |
|
---|
| 29 |
|
---|
| 30 |
|
---|
| 31 |
|
---|
| 32 | // back_camera: null
|
---|
| 33 | // battery: null
|
---|
| 34 | // chipset: null
|
---|
| 35 | // color: null
|
---|
| 36 | // cpu: null
|
---|
| 37 | // front_camera: null
|
---|
| 38 | // id: 486
|
---|
| 39 | // image_url: "https://setec.mk/image/cache/catalog/Product/51841_0-228x228.jpg"
|
---|
| 40 | // is_validated: false
|
---|
| 41 | // last_updated: "2022-07-26T22:00:00.000+00:00"
|
---|
| 42 | // offer_description: "Apple iPhone 13 128GB Midnight, GSM/CDMA/HSPA/EVDO/LTE/ 5G, Display: Super Retina XDR OLED; HDR10; Dolby Vision; 800 nits (HBM); 1200 nit…"
|
---|
| 43 | // offer_name: "Apple iPhone 13 128GB Midnight"
|
---|
| 44 | // offer_shop: "Setec"
|
---|
| 45 | // offer_shop_code: "51841"
|
---|
| 46 | // offer_url: "https://setec.mk/index.php?route=product/product&path=10066_10067&product_id=51841"
|
---|
| 47 | // operating_system: null
|
---|
| 48 | // price: 63990
|
---|
| 49 | // ram_memory: null
|
---|
| 50 | // rom_memory: null
|
---|
Note:
See
TracBrowser
for help on using the repository browser.