1.0.0-0 • Published 8 years ago

ta-react-feedback-message v1.0.0-0

Weekly downloads
1
License
ISC
Repository
gitlab
Last release
8 years ago

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="test@example.com" />
    )
  }
}

API – 1.0.0

Props

PropertyTypeRequiredDefault ValueDescription
mailTostringnointeraktiv@tages-anzeiger.chMail address to send the feedback to.
additionalClasses[string] no[] Additional classes to pass to the .ui.icon.message. Example: ['inverted', 'info'].
1.0.0-0

8 years ago