diff --git a/test/glamorous.test.tsx b/test/glamorous.test.tsx index d800bad4..c9811296 100644 --- a/test/glamorous.test.tsx +++ b/test/glamorous.test.tsx @@ -12,34 +12,38 @@ const Static = glamorous.div({ }); // dynamic styles -const Title = glamorous.h1( +const Title = glamorous.h1<{ color: string }>( { "fontSize": "10px", "zIndex": "auto", }, - (props: { color: string; }) => ({ + (props) => ({ "color": props.color, }), ); +const UseTitle = () => ( +