// @flow import ChangesetRow from "./ChangesetRow"; import React from "react"; import injectSheet from "react-jss"; import classNames from "classnames"; import type { Changeset, Repository } from "@scm-manager/ui-types"; type Props = { repository: Repository, changesets: Changeset[], classes: any }; const styles = { toCenterContent: { display: "block" } }; class ChangesetList extends React.Component { render() { const { repository, changesets, classes } = this.props; const content = changesets.map(changeset => { return ( ); }); return (
{content}
); } } export default injectSheet(styles)(ChangesetList);