hh-ui-components
Version:
21 lines • 523 B
JavaScript
;
exports.__esModule = true;
exports["default"] = void 0;
var theming_1 = require("@storybook/theming");
var Svg = theming_1.styled.svg({
// Fix rendering bugs in Chrome for hdpi
shapeRendering: "inherit",
transform: "translate3d(0,0,0)"
}, function (_a) {
var inline = _a.inline;
return inline
? {
display: "inline-block"
}
: {
display: "block"
};
});
exports["default"] = Svg;
Svg.displayName = "Svg";
//# sourceMappingURL=svg.js.map