diff --git a/test/glamorous.test.tsx b/test/glamorous.test.tsx index cb63e9f5..7cef4055 100644 --- a/test/glamorous.test.tsx +++ b/test/glamorous.test.tsx @@ -564,3 +564,37 @@ const BuiltinStyledWithMultipleChild: JSX.Element = ( world! ); + +const CustomStatelessComponent: React.SFC<{}> = (_props) =>
+class CustomClassComponent extends React.Component<{}, {}> { + render() { + return null + } +} +const CustomGlamorousComponent = glamorous.div() +const CustomGlamorousComponent2 = glamorous('div')() +const CustomGlamorousComponent3 = glamorous(CustomGlamorousComponent)() +const BuiltinStyledComponentChildren: JSX.Element = ( + + + + + + + +) +const BuiltinStyledWithPrimitivesChildren: JSX.Element = ( + + {null} + {false} + {true} + {undefined} + {5} + +); + +const BuiltinStyledWithFragment: JSX.Element = ( + + + +); \ No newline at end of file