diff --git a/scm-ui/src/repos/sources/components/content/StatePaginator.js b/scm-ui/src/repos/sources/components/content/StatePaginator.js new file mode 100644 index 0000000000..ceedd5edaf --- /dev/null +++ b/scm-ui/src/repos/sources/components/content/StatePaginator.js @@ -0,0 +1,138 @@ +//@flow +import React from "react"; +import { translate } from "react-i18next"; +import type { PagedCollection } from "@scm-manager/ui-types"; +import { Button } from "@scm-manager/ui-components"; + +type Props = { + collection: PagedCollection, + page: number, + updatePage: number => void, + + // context props + t: string => string +}; + +class StatePaginator extends React.Component { + renderFirstButton() { + return ( +