0.0.4 • Published 2 years ago

@reiterate/react v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago