mostly rendered landing page

This commit is contained in:
MapleLeaf
2022-01-03 01:44:55 -06:00
committed by Darius
parent 3b42f25e45
commit 83405a92d7
7 changed files with 36 additions and 7 deletions

View File

@@ -0,0 +1,19 @@
<!-- prettier-ignore -->
```tsx
import * as React from "react"
import { Embed, Button } from "reacord"
function Counter() {
const [count, setCount] = React.useState(0)
return (
<>
<Embed title="Counter">
This button has been clicked {count} times.
</Embed>
<Button onClick={() => setCount(count + 1)}>
+1
</Button>
</>
)
}
```