2.0.2 • Published 4 years ago
react-suggestion-box v2.0.2
react-suggestion-box
React & Material-UI based user suggestions/feedback/complaints dialog box with screenshot.
Installation
react-suggestion-box is available as an npm package.
// with npm
npm install --save react-suggestion-box
// with yarn
yarn add react-suggestion-boxUsage
import ReactSuggestionBox from 'react-suggestion-box';
....
<ReactSuggestionBox onSubmit={onSubmit} />Props
| Name | Type | Default | Description |
|---|---|---|---|
| containerClassName | string | Component DOM container class | |
| buttonTooltipText | string | "Suggestion" | Suggestion Button Tooltip Text |
| mainButtonLabel | string | "Suggestion" | Suggestion Button Label |
| title | string | "Send Suggestion" | Dialog title |
| descriptionPlaceholder | string | "Describe your issues or share your ideas" | Dialog description field placeholder |
| cancelButtonLabel | string | "Cancel" | Dialog Cancel button label |
| submitButtonLabel | string | "Send" | Dialog Submit button label |
| onSubmit | func | Dialog onSubmit handler (Mandatory) | |
| icon | node | "Suggestion" from material | Icon |
Screenshot

2.0.2
4 years ago
2.0.1
4 years ago
2.0.0
4 years ago
1.2.0
5 years ago
1.2.3
5 years ago
1.2.2
5 years ago
1.2.1
5 years ago
1.1.1
5 years ago
1.1.5
5 years ago
1.1.4
5 years ago
1.1.3
5 years ago
1.1.0
5 years ago
1.0.9
5 years ago
1.0.10
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.2
5 years ago
1.0.3
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago