File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
packages/yak-swc/yak_swc/tests/fixture/css-prop Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11import { css , styled , __yak_mergeCssProp } from "next-yak/internal" ;
2+ import * as __yak from "next-yak/internal" ;
23import __styleYak from "./input.yak.module.css!=!./input?./input.yak.module.css" ;
34const Elem = ( ) => < div { .../*YAK Extracted CSS:
45.Elem {
@@ -54,7 +55,7 @@ const Text = /*YAK Extracted CSS:
5455.Text {
5556 font-size: 20px;
5657}
57- */ /*#__PURE__*/ styled . p ( __styleYak . Text ) ;
58+ */ /*#__PURE__*/ __yak . __yak_p ( __styleYak . Text ) ;
5859const StyledComponentWithCSSProp = ( ) => < Text { .../*YAK Extracted CSS:
5960.StyledComponentWithCSSProp {
6061 color: red;
Original file line number Diff line number Diff line change 11import { css , styled , __yak_mergeCssProp } from "next-yak/internal" ;
2+ import * as __yak from "next-yak/internal" ;
23import __styleYak from "./input.yak.module.css!=!./input?./input.yak.module.css" ;
34const Elem = ( ) => < div { .../*YAK Extracted CSS:
45.Elem {
@@ -54,7 +55,7 @@ const Text = /*YAK Extracted CSS:
5455.Text {
5556 font-size: 20px;
5657}
57- */ /*#__PURE__*/ styled . p ( __styleYak . Text ) ;
58+ */ /*#__PURE__*/ __yak . __yak_p ( __styleYak . Text ) ;
5859const StyledComponentWithCSSProp = ( ) => < Text { .../*YAK Extracted CSS:
5960.StyledComponentWithCSSProp {
6061 color: red;
You can’t perform that action at this time.
0 commit comments