Repository URL to install this package:
|
Version:
1.2.18 ▾
|
@skava/modules
/
___dist
/
view-container
/
styles
/
styled-components
/
src
/
no-parser
/
stringifyRules.js
|
|---|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
const stringifyRules = (rules, selector, prefix) => [rules.reduce((str, partial, index) => str + ( // NOTE: This is to not prefix keyframes with the animation name
(index > 0 || !prefix) && selector ? selector : '') + (partial && Array.isArray(partial) ? partial.join('') : partial.toString()), '')];
var _default = stringifyRules;
exports.default = _default;