Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/ui / src / components / atoms / Text / styled.js
Size: Mime:
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});

const styleh_components_1 = require("styleh-components"); // @note - wrong text
// font-family: Helvetica, Arial;

/**
 * @todo @name enableBg => shouldHaveBackground, or add as preset only
 */


const StyledBaseText = styleh_components_1.styled.div`
  color: inherit;
  text-transform: none;
  text-decoration: none;
  padding: 0;

  // enabling the background
  ${props => props.enableBg && styleh_components_1.styled.css`
      background-color: grey;
      width: 100%;
      height: auto;
      line-height: auto;
      text-align: center;
    `};
`;
exports.StyledBaseText = StyledBaseText; //# sourceMappingURL=styled.js.map