import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import clsx from 'clsx';
import './style.scss';
import GetSvgIcon from '../../GetSvgIcon';
const NavbarButton = ({ isSelected = false, isDisabled = false, text = 'NB Button', navbarIcon = 'home', props = {}, onClick = () => { } }) => {
    const className = clsx({
        'navbarButton--Generic': true,
        'navbarButton--Selected': isSelected,
        'navbarButton--Unselected': !isSelected,
    });
    return (_jsxs("button", { disabled: isDisabled, className: className, onClick: onClick, ...props, children: [_jsx(GetSvgIcon, { iconType: navbarIcon, iconSize: '18' }), text] }));
};
export default NavbarButton;
