import*as e from"react";import a from"styled-components";import{ChevronDownIcon as c,ChevronUpIcon as s}from"@redocly/theme";import{useTranslate as m}from"../../../../../client/app/hooks";import{ShadowButton as p}from"./ShadowButton";function v(i){const{visible:t,onClick:n}=i,{translate:o}=m(),l=t?o("dev.app.overview.visibilityToggle.hide","Hide"):o("dev.app.overview.visibilityToggle.show","Show"),r=t?e.createElement(s,null):e.createElement(c,null);return e.createElement(p,{onClick:n},e.createElement(d,null,l,r))}const d=a.div`
  display: flex;
  align-items: center;
  justify-content: space-around;
  min-width: 60px;
`;export{v as default};
