diff --git a/packages/yak-swc/yak_swc/tests/fixture/css-prop/output.dev.tsx b/packages/yak-swc/yak_swc/tests/fixture/css-prop/output.dev.tsx index 4eb7576e..69be0e11 100644 --- a/packages/yak-swc/yak_swc/tests/fixture/css-prop/output.dev.tsx +++ b/packages/yak-swc/yak_swc/tests/fixture/css-prop/output.dev.tsx @@ -1,4 +1,4 @@ -import { css, __yak_mergeCssProp } from "next-yak/internal"; +import { css, styled, __yak_mergeCssProp } from "next-yak/internal"; import __styleYak from "./input.yak.module.css!=!./input?./input.yak.module.css"; const Elem = ()=>
; const Elem8 = ()=>
; +const Text = /*YAK Extracted CSS: +.Text { + font-size: 20px; +} +*/ /*#__PURE__*/ styled.p(__styleYak.Text); +const StyledComponentWithCSSProp = ()=> + test + ; diff --git a/packages/yak-swc/yak_swc/tests/fixture/css-prop/output.prod.tsx b/packages/yak-swc/yak_swc/tests/fixture/css-prop/output.prod.tsx index 4eb7576e..69be0e11 100644 --- a/packages/yak-swc/yak_swc/tests/fixture/css-prop/output.prod.tsx +++ b/packages/yak-swc/yak_swc/tests/fixture/css-prop/output.prod.tsx @@ -1,4 +1,4 @@ -import { css, __yak_mergeCssProp } from "next-yak/internal"; +import { css, styled, __yak_mergeCssProp } from "next-yak/internal"; import __styleYak from "./input.yak.module.css!=!./input?./input.yak.module.css"; const Elem = ()=>
; const Elem8 = ()=>
; +const Text = /*YAK Extracted CSS: +.Text { + font-size: 20px; +} +*/ /*#__PURE__*/ styled.p(__styleYak.Text); +const StyledComponentWithCSSProp = ()=> + test + ;