define(['exports', 'preact/jsx-runtime', './ViewHide-cf39eb70', './View-79b43ebd', './useTranslationBundle-7c40cb58', './IconSwitchButton-1a400cdf'], (function(e,o,t,i,n,c){"use strict";e.RevealToggleIcon=function({accessibleLabel:e,isRevealed:s,onToggle:l,testId:r,tooltipHide:a,tooltipShow:d}){const u=n.useTranslationBundle("@oracle/oraclejet-preact"),b=a||u.formControl_hide(),g=d||u.formControl_show();return o.jsx(c.IconSwitchButton,{tooltip:s?b:g,accessibleLabel:e,isSelected:!s,onToggle:l,testId:r,size:"sm",children:s?o.jsx(t.SvgViewHide,{}):o.jsx(i.SvgView,{})})}}));
//# sourceMappingURL=RevealToggleIcon-c22626da.js.map
