0.0.4 • Published 1 year ago

@reiterate/react v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Reiterate.so

Installation

yarn add @reiterate/react

or

npm add @reiterate/react

Usage

const YourComponent = ({ userId }: { userId: string }) => {
  const [text, setText] = useState('')
  const { create } = useFeedback({ userId })

  return (
    <>
      <textarea
        value={text}
        onChange={(e) => setText(e.target.value)}
      ></textarea>
      <button onClick={create(text)}>Feedback</button>
    </>
  )
}
0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago