OCbwoy3 061608323f
Some checks failed
release / release (push) Has been cancelled
tests / build (push) Has been cancelled
tests / lint (push) Has been cancelled
tests / test (push) Has been cancelled
codex: fix stupid react
2026-01-02 20:53:54 +02:00
2023-10-28 19:49:36 +00:00
2023-09-27 12:23:56 -05:00
2026-01-02 20:53:54 +02:00
2022-01-09 17:36:42 -06:00
2021-12-29 14:36:54 -06:00
2023-08-16 19:32:28 -05:00
2022-04-25 14:52:04 -05:00
2026-01-02 20:18:16 +02:00
2022-07-22 13:51:02 -05:00
2026-01-02 20:18:16 +02:00
2026-01-02 20:18:16 +02:00
2026-01-02 20:18:16 +02:00
2022-01-09 17:40:15 -06:00
2026-01-02 20:18:16 +02:00
2022-01-12 09:55:03 -06:00
2026-01-02 20:18:16 +02:00
2023-08-16 19:32:28 -05:00
2023-08-16 19:32:28 -05:00

Installation ∙ npm

# bun
bun add reacord react discord.js

Example

import { useState } from "react"
import { Embed, Button } from "reacord"

function Counter() {
  const [count, setCount] = useState(0)

  return (
    <>
      <Embed title="Counter">
        This button has been clicked {count} times.
      </Embed>
      <Button
        label="+1"
        onClick={() => setCount(count + 1)}
      />
    </>
  )
}

Counter demo

Languages
TypeScript 99.9%