import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import "./ToggleSwitch.scss";
const ToggleSwitch = ({ selected = "text", firstButton = 'File', secondButton = 'File', handleClick }) => {
    return (_jsxs("div", { className: "toggle-container", children: [_jsx("button", { className: `toggle-button ${selected === firstButton ? "active" : ""}`, onClick: () => handleClick(firstButton), children: firstButton }), _jsx("button", { className: `toggle-button ${selected === secondButton ? "active" : ""}`, onClick: () => handleClick(secondButton), children: secondButton })] }));
};
export default ToggleSwitch;
//# sourceMappingURL=ToggleSwitch.js.map