diff --git a/types/styled-jsx/styled-jsx-tests.tsx b/types/styled-jsx/styled-jsx-tests.tsx index 09883d8df6..d1b9033966 100644 --- a/types/styled-jsx/styled-jsx-tests.tsx +++ b/types/styled-jsx/styled-jsx-tests.tsx @@ -26,6 +26,29 @@ const withSeparatedCSS = ( ); +const globalCSS = css.global`body { margin: 0; }`; +const withGlobalCSS = ( +
+ +
+); + +const resolvedCSS = css.resolve`a { color: green; }`; +const withResolvedCSS = ( +
+ + {resolvedCSS.styles} +
+); + +const dynamicResolvedCSS = css.resolve`a { color: ${buttonColor}; }`; +const withDynamicResolvedCSS = ( +
+ + {dynamicResolvedCSS.styles} +
+); + const stylesChildren = flushToReact(); const jsxToRender = ( { stylesChildren }