import React from 'react'; import './price-list-item.scss'; interface IProps { data: any; } interface IState { price?: String; } export class PriceListItem extends React.Component { constructor(props: IProps) { super(props); this.state = {}; } componentDidMount() {} render() { const { data } = this.props; return (
{data.typeLine}
{data.priceInfo ? `${data.priceInfo.min_price} ${data.priceInfo.currency_rec}` : ''}
); } }