How to use the astroturf.jsx function in astroturf

To help you get started, we’ve selected a few astroturf examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github 4Catalyzer / astroturf / test / __file_snapshots__ / loader__css-prop.js View on Github external
function Button4({ theme }) {
  return _j(
    "button",
    {
      css: [require("./css-prop-CssProp4_button.css"), [["a1qka8js", theme]]]
    },
    "Hi there",
    _j("span", {
      css: [require("./css-prop-CssProp5_span.css")]
    })
  );
}
github 4Catalyzer / astroturf / test / __file_snapshots__ / loader__css-prop.js View on Github external
function Button4({ theme }) {
  return _j(
    "button",
    {
      css: [require("./css-prop-CssProp4_button.css"), [["a1qka8js", theme]]]
    },
    "Hi there",
    _j("span", {
      css: [require("./css-prop-CssProp5_span.css")]
    })
  );
}

astroturf

Extract and process inline CSS literals in JavaScript files

MIT
Latest version published 1 year ago

Package Health Score

57 / 100
Full package analysis