Files
poe-auto-pricer/app/components/stash-tab.tsx
2018-08-14 00:02:06 -05:00

21 lines
471 B
TypeScript

import React from 'react';
import { PoeService } from '../services/poe.service';
import './stash-tab.scss';
interface IProps {
data: any;
}
export class StashTab extends React.Component<IProps, any> {
componentDidMount() {
console.log(this.props.data);
PoeService.priceCheck(`Superior Laboratory Map`).then(res => {
console.log(res);
});
}
render() {
return <div style={{ height: '577px', width: '577px' }} className="quad-tab" />;
}
}