rsnext/packages/next-swc/crates/styled_components/tests/fixtures/.transpile-template-literals-without-config/output.js
Donny/강동윤 16f7084e7f
feat(next-swc): Update swc crates (#35996)
* Move

* Adjust

* publish = false

* Tree

* Move tests

* fixup

* Split `emotion`

* Split `styled_jsx`

* Split `styled_jsx`

* fmt

* `--fix`

* clippy

* Update crates

* fixup

* publish

* Bump

* Rename

* authors

* Update

* More update

* Oh

* Update test refs

* Update test refs

* Update again

* Fix
2022-04-11 11:59:16 +02:00

13 lines
469 B
JavaScript

"use strict";
var _styledComponents = _interopRequireDefault(require("styled-components"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
var Named = _styledComponents["default"].div(["\n width: 100%;\n"]);
var NamedWithInterpolation = _styledComponents["default"].div(["\n color: ", ";\n"], function (color) {
return props.color;
});
var Wrapped = (0, _styledComponents["default"])(Inner)(["color: red;"]);