import React from "react"
import { Link } from "react-router"
const ThreadPagination = ({ baseUrl, posts }) => (
{posts.isLoaded && posts.first ? (
first_page
) : (
)}
{posts.isLoaded && posts.previous ? (
1 ? posts.previous + "/" : "")}
title={gettext("Go to previous page")}
>
chevron_left
) : (
)}
{posts.isLoaded && posts.next ? (
chevron_right
) : (
)}
{posts.isLoaded && posts.last ? (
last_page
) : (
)}
)
export default ThreadPagination