/**
 * ldesign v0.4.6
 * (c) 2023 ldesign
 * @license MIT
 */

var injectStyle = function injectStyle(style) {
  var styleElement = document.createElement("style");
  var styleSheet = null;
  document.head.appendChild(styleElement);
  styleSheet = styleElement.sheet;
  styleSheet.insertRule(style, styleSheet.cssRules.length);
};

export { injectStyle as default };
//# sourceMappingURL=injectStyle.js.map
