import React from "react";
import { Button, Navbar, NavDropdown } from "react-bootstrap";
import { Sliders } from "react-feather";
const NavBar = (props: any) => {
const { authors, show } = props;
if (!show) return
;
return (
Proposals
per Page}
id="basic-nav-dropdown"
>
{[10, 25, 50, 100, 250, 500].map((n) => (
props.setPerPage(n)}>
{n}
))}
Creator}
id="basic-nav-dropdown"
>
All
{Object.keys(authors).map((author) => (
{authors[author]}
))}
);
};
export default NavBar;