use typescript for docs

This commit is contained in:
Domin-MND
2023-10-29 13:51:00 +03:00
parent a00fbc0631
commit a41c825cdd
7 changed files with 95 additions and 65 deletions

View File

@@ -8,10 +8,10 @@ slug: links
In Discord, links are a type of button, and they work similarly. Clicking on it leads you to the given URL. They only have one style, and can't be listened to for clicks.
```jsx
```tsx
import { Link } from "reacord"
function AwesomeLinks() {
export function AwesomeLinks() {
return (
<>
<Link label="look at this" url="https://google.com" />