This repository has been archived on 2024-11-29. You can view files and clone it, but cannot push or open issues or pull requests.

29 lines
872 B
JavaScript

import React from "react";
import { BootstrapTable, TableHeaderColumn } from "react-bootstrap-table";
import "../../../../react-bootstrap-table.css";
// Single Side is directly referenced on the SideMigrations page,
// receives data from the get request and only displays small amounts of info
// this could be fleshed out/ linked to UUID's
export const SingleSide = ({ data }) => {
return (
<div>
<BootstrapTable data={data} height="100%" striped hover condensed>
<TableHeaderColumn isKey dataField="domain" width="45%">
Domain
</TableHeaderColumn>
<TableHeaderColumn dataField="booked_time" width="35%">
Booked Time
</TableHeaderColumn>
<TableHeaderColumn dataField="migration_status" width="20%">
Status
</TableHeaderColumn>
</BootstrapTable>
</div>
);
//
};
{
}