Add shorthands support

This commit is contained in:
Zoe Roux
2022-11-14 21:35:43 +09:00
parent 77aa4606d8
commit c7a1a3b598
12 changed files with 158 additions and 20 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ export default function Home(props: object) {
</h1>
<Box />
<Box {...css({ background: "blue" })} />
<Box {...css({ bg: "blue", p: "12px" })} />
<p>
Get started by editing <code>pages/index.tsx</code>