carbon-react
Version:
A library of reusable React components for easily building user interfaces.
2 lines (1 loc) • 648 B
JavaScript
;Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("styled-system"),s=require("../../../style/themes/apply-base-theme.js");function a(e){return e&&e.__esModule?e:{default:e}}const i=a(e).default.div.attrs(s.default).withConfig({displayName:"tab.style__StyledTab",componentId:"sc-5bd445da-0"})(["display:none;",""],(({isTabSelected:s,position:a="top"})=>s&&e.css(["display:block;"," "," ",""],"top"===a&&e.css(["margin-left:4px;margin-right:4px;"]),"left"===a&&e.css(["margin-left:-6px;margin-top:var(--spacing075);width:calc(80% + var(--spacing075));"]),t.padding)));exports.default=i;