2.0.2 • Published 3 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-box
Usage
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
3 years ago
2.0.1
3 years ago
2.0.0
3 years ago
1.2.0
3 years ago
1.2.3
3 years ago
1.2.2
3 years ago
1.2.1
3 years ago
1.1.1
3 years ago
1.1.5
3 years ago
1.1.4
3 years ago
1.1.3
3 years ago
1.1.0
3 years ago
1.0.9
4 years ago
1.0.10
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.2
4 years ago
1.0.3
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago