import{defineProperty as e}from"../../_virtual/_rollupPluginBabelHelpers.js";import{jsxs as r,Fragment as t,jsx as l}from"react/jsx-runtime";import o from"./ToggleText.js";import s from"classnames";import{BEMClass as m}from"../../helpers/bem-helper.js";import{BASE_TOGGLE_CLASS_NAME as i}from"./ToggleConstants.js";var a=m(i),n=function(m){var i,n=m.checked,c=m.offOverrideText,d=m.onOverrideText,p=m.className,g=m.label;return r(t,{children:[l("div",{className:s(a({element:"toggle"}),p,(i={},e(i,a({element:"toggle",state:"selected"}),n),e(i,a({element:"toggle",state:"not-selected"}),!n),i)),"aria-hidden":"true"}),g&&l(o,n?{children:d}:{children:c})]})};export{n as MockToggle};
