@ssplib/react-components
Version:
SSP React Components
16 lines (15 loc) • 456 B
TypeScript
export default function NavBar({ links, title, img, pos, next, el, menuItems, paddingBottom, logoutMsg, logoutFunc, ...props }: {
links: {
name: string;
path: string;
}[];
title: string;
img: string;
paddingBottom?: number;
menuItems: JSX.Element | JSX.Element[];
next?: boolean;
el?: JSX.Element;
logoutMsg?: string;
logoutFunc?: () => Promise<void>;
pos?: 'fixed' | 'inherit';
}): JSX.Element;