less hacking way of pulling poe data

This commit is contained in:
2018-08-27 23:54:27 -05:00
parent 5423b81c95
commit 97acc0d4fa
34 changed files with 651 additions and 221 deletions

View File

@@ -0,0 +1,14 @@
import React from 'react';
import { PriceListItem } from '../price-list-item/price-list-item';
interface IProps {
data: any[];
}
export class PriceList extends React.Component<IProps, any> {
constructor(props: IProps) {
super(props);
}
render = () => this.props.data.map((value, index) => <PriceListItem data={value} key={index} />);
}