# react-feedback-client

> React feedback client package

Latest version **1.0.6** (published 2022-12-15) · 0 weekly downloads

## Install

```sh
npm install react-feedback-client
pnpm add react-feedback-client
yarn add react-feedback-client
bun add react-feedback-client
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2022-12-15 |
| First published | 2022-12-06 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 9 |
| Unpacked size | 61 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | bilenlacin |
| Maintainers | onurbilenlacin |
| Keywords | react, feedback, client |

## Links

- npm: https://www.npmjs.com/package/react-feedback-client
- Repository: https://github.com/apitwist/react-feedback-client
- Homepage: https://github.com/apitwist/react-feedback-client#readme
- Issues: https://github.com/apitwist/react-feedback-client/issues
- npm.io page: https://npm.io/package/react-feedback-client

## Dependencies (9)

- [react](https://npm.io/package/react.md) ^18.2.0
- [bootstrap](https://npm.io/package/bootstrap.md) ^4.6.0
- [react-dom](https://npm.io/package/react-dom.md) ^18.2.0
- [web-vitals](https://npm.io/package/web-vitals.md) ^2.1.4
- [react-select](https://npm.io/package/react-select.md) ^5.7.0
- [react-scripts](https://npm.io/package/react-scripts.md) 5.0.1
- [react-toastify](https://npm.io/package/react-toastify.md) ^9.1.1
- [@babel/polyfill](https://npm.io/package/@babel/polyfill.md) ^7.12.1
- [react-bootstrap](https://npm.io/package/react-bootstrap.md) ^2.6.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.6 (latest) — 2022-12-15
- 1.0.5 — 2022-12-13
- 1.0.4 — 2022-12-13
- 1.0.3 — 2022-12-13
- 1.0.2 — 2022-12-12
- 1.0.1 — 2022-12-12
- 1.0.0 — 2022-12-06

## README

# React-Feedback-Client

You can define your component right or left bottom of the page

![button](https://user-images.githubusercontent.com/73442869/207299199-49fbadf8-77c2-4c48-8831-3044bcce6d8d.png)

A modal will be shown after you clicked feedback button

![modal](https://user-images.githubusercontent.com/73442869/207299204-0c1d3c52-d8c4-4428-b69f-bba7b8f98dcf.png)

If you will use select, it will be shown conditionally when selected content

![select-options](https://user-images.githubusercontent.com/73442869/207301338-fcf0ad10-92c0-4960-bfbf-c2bb000ba84c.png)

## Installation

```bash
npm i react-feedback-client
```

## Usage

#### You can describe your headers, labels, placeholders, messages

```import { Feedback } from "react-feedback-client/dist/components";

function App() {

// If you will use select options describe your array by id and name and pass as props to Feedback component,
// If you will not use option select, you do not need to pass below props
        // * selectBarArray={selectArray}
        // * selectLabel="book"
        // * inputLabel="page"
        // * inputPlaceholder="pageNumbers"



    let selectArray = [
        { id: 1, name: "name 1" },
        { id: 2, name: "name 2" },
        { id: 3, name: "name 3" },
        { id: 4, name: "name 4" }
    ];
    return (
        <div className="App">


            <Feedback
                selectBarArray={selectArray}
                feedbackHeader="feedbackHeader"
                feedbackLabel="feedback"
                websiteFeedbackLabel="website"
                contentFeedbackLabel="contentOfBook"
                required="required"
                typeLabel="type"
                feedbackLike="feedbackLike"
                feedbackDislike="feedbackDislike"
                feedbackSuggestion="feedbackSuggestion"
                feedbackError="feedbackError"
                selectLabel="book"
                inputLabel="page"
                inputPlaceholder="pageNumbers"
                textareaLabel="writeFeedback"
                textareaPlaceholder="feedbackComment"
                minChar="minimumCharacter"
                submitButtonText="submit"
                position={"right"}
                buttonText="feedback"
                isDark={false}
                successMessage="feedbackMessage"
                errorMessage="msg_1"
                serviceUrl="url"
                header={{
                    "Content-Type": "application/json",
                    Accept: "application/json",
                    Authorization: "Bearer " + "token"
                }}
            />
        </div>
    );
}

export default App;

```

## License

[MIT](https://choosealicense.com/licenses/mit/)

---
_Source: https://npm.io/package/react-feedback-client · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
