diff --git a/README.md b/README.md
index b8c0c31..10871cf 100644
--- a/README.md
+++ b/README.md
@@ -22,51 +22,52 @@ pnpm add reacord react discord.js
## Example
+
```tsx
import { useState } from "react"
import { Embed, EmbedField, Button } from "reacord"
interface EmbedCounterProps {
- count: number
- visible: boolean
+ count: number
+ visible: boolean
}
function EmbedCounter({ count, visible }: EmbedCounterProps) {
- if (!visible) return <>>
+ if (!visible) return <>>
- return (
-
- )
+ return (
+
+ )
}
function Counter() {
- const [showEmbed, setShowEmbed] = useState(false)
- const [count, setCount] = useState(0)
- const instance = useInstance()
+ const [showEmbed, setShowEmbed] = useState(false)
+ const [count, setCount] = useState(0)
+ const instance = useInstance()
- return (
- <>
- this button was clicked {count} times
-
-