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