ta-react-feedback-message
v1.0.0-0
Published
React component that renders a message with a mail address allowing readers to give feedback.
Downloads
4
Maintainers
Readme
ta-react-feedback-message
React component that renders a message with a mail address allowing readers to give feedback.
Installation
npm install ta-react-feedback-message --save
Usage
import FeedbackMessage from 'ta-react-feedback-message';
...
class YourComponent extends React.Component {
render() {
return (
<FeedbackMessage mailTo="[email protected]" />
)
}
}
API – 1.0.0
Props
Property | Type | Required | Default Value | Description
------|----|---------|-----------|------
mailTo
| string
| no | [email protected]
| Mail address to send the feedback to.
additionalClasses
| [string]
| no | []
| Additional classes to pass to the .ui.icon.message
. Example: ['inverted', 'info']
.