Add support to undefined values

This commit is contained in:
Zoe Roux
2022-11-30 14:41:15 +09:00
parent 7c1757597e
commit fab6aad87d
3 changed files with 16 additions and 2 deletions
+12 -1
View File
@@ -20,7 +20,18 @@ export default function Home(props: object) {
const { css } = useYoshiki();
return (
<div {...css({ display: "flex", paddingLeft: "2rem", paddingRight: "2rem" }, props)}>
<div
{...css(
{
display: "flex",
paddingLeft: "2rem",
paddingRight: "2rem",
flexGrow: 1,
margin: undefined,
},
props,
)}
>
<Head>
<title>Create Next App</title>
<meta name="description" content="Generated by create next app" />