rsnext/packages/next-swc/crates/styled_components/tests/fixtures/transpile-require-default/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

19 lines
497 B
JavaScript

const styled_default = require("styled-components");
const TestNormal = styled.div.withConfig({
displayName: "code__TestNormal",
componentId: "sc-1dd7c523-0"
})`
width: 100%;
`;
const Test = styled_default.default.div.withConfig({
displayName: "code__Test",
componentId: "sc-1dd7c523-1"
})`
width: 100%;
`;
const TestCallExpression = styled_default.default(Test).withConfig({
displayName: "code__TestCallExpression",
componentId: "sc-1dd7c523-2"
})`
height: 20px;
`;