From fe39859b68d6251b4bf043c2c803e4cfa28d0344 Mon Sep 17 00:00:00 2001 From: MapleLeaf <19603573+itsMapleLeaf@users.noreply.github.com> Date: Sun, 9 Jan 2022 19:34:24 -0600 Subject: [PATCH] add links doc --- packages/docs/app/routes/guides/links.md | 25 ++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 packages/docs/app/routes/guides/links.md diff --git a/packages/docs/app/routes/guides/links.md b/packages/docs/app/routes/guides/links.md new file mode 100644 index 0000000..215d434 --- /dev/null +++ b/packages/docs/app/routes/guides/links.md @@ -0,0 +1,25 @@ +--- +order: 3 +meta: + title: Links + description: Using link components +--- + +# 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 +import { Link } from "reacord" + +function AwesomeLinks() { + return ( + <> + + + + ) +} +``` + +See the [API reference](/api) for more information.