diff --git a/src/components/Table.js b/src/components/Table.js new file mode 100644 index 0000000..1ea23bb --- /dev/null +++ b/src/components/Table.js @@ -0,0 +1,71 @@ +import React, { Component } from 'react'; +import { + Col, + Row, + Table as TableBootstrap +} from 'reactstrap'; + +import './Table.css' + +class Table extends Component { + constructor(props) { + super(props); + + this.state = {}; + } + + render() { + let data = this.props.data; + + return ( + + + + + + Ticket Info + + + + + id + {data.id} + + + status + {data.status} + + + created + {data.createdAt} + + + + updated + {data.updateAt} + + + created by +

{`${data.firstName} ${data.lastName} (${data.email})`}

+ + + type + {data.type} + + + subject + {data.subject} + + + message + {data.message} + + +
+ +
+ ); + } +} + +export default Table; \ No newline at end of file