1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-28 23:44:19 +00:00

🔧 Show a sample with children instead of body

This commit is contained in:
Stefano Pigozzi 2021-04-21 01:27:12 +02:00
parent 7bbd0a8421
commit 989688ce5b
Signed by untrusted user who does not match committer: steffo
GPG key ID: 6965406171929D01

View file

@ -11,7 +11,7 @@ export default function App() {
<div className={classNames(Style.App, theme)}> <div className={classNames(Style.App, theme)}>
<BoxWithHeader <BoxWithHeader
header={"Ciao mondo!"} header={"Ciao mondo!"}
body={ >
<div> <div>
<div> <div>
Il CSS è pura magia. Il CSS è pura magia.
@ -20,8 +20,7 @@ export default function App() {
Change my mind. Change my mind.
</div> </div>
</div> </div>
} </BoxWithHeader>
/>
<BoxWithHeader <BoxWithHeader
header={"Questa è un'altra Box."} header={"Questa è un'altra Box."}
body={ body={