3.1.1 • Published 1 year ago
@ta-interaktiv/react-feedback-message v3.1.1
Feedback Message
React component that renders a message with a mail address allowing readers to give feedback.
Installation
yarn add @ta-interaktiv/react-feedback-messageAPI
Table of Contents
React component that renders a message with a mail address allowing readers to give feedback.
Parameters
propsobjectprops.mailTostring The mail address to send the feedback to. Join several addresses with,(optional, defaultinteraktiv@tages-anzeiger.ch)props.projectstring The name of the project. Used as the mail subject. Defaults to the window title. (optional, defaultwindow.document.title)props.classNamestring? Additional CSS classes that should be passed to both theui message.props.invertedboolean Whether the component should be displayed as inverted. (optional, defaultfalse)props.questionstring Header line of the feedback message box. (optional, default'Haben sie Anmerkungen oder einen Fehler entdeckt?'|'Avez-vous des remarques ou avez-vous découvert une erreur?')props.callstring Second part of the message, prepended to the mailTo address(es) (optional, default'Wir freuen uns über Ihre Nachricht an'|'Nous nous réjouissons de votre message à')props.locale("de"|"fr") The language in which the component should be rendered. This only affects the default text strings (optional, defaultde)
Examples
import React from 'react'
import FeedbackMessage from '@ta-interaktiv/react-feedback-message'
class YourComponent extends React.Component {
render() {
return (
<FeedbackMessage mailTo='test@example.com' className='small blue' />
)
}
}3.1.1
1 year ago
3.1.0
1 year ago
3.0.1
4 years ago
3.0.0
6 years ago
2.5.6
6 years ago
2.5.5
6 years ago
2.5.4
6 years ago
2.5.3
6 years ago
2.5.2
6 years ago
2.5.0
6 years ago
2.4.0
6 years ago
2.3.6
6 years ago
2.3.5
6 years ago
2.3.4
6 years ago
2.3.3
6 years ago
2.3.2
7 years ago
2.3.1
7 years ago
2.3.0
7 years ago
2.2.2
7 years ago
2.2.1
7 years ago
2.2.0
7 years ago
2.1.3
7 years ago
2.1.2
7 years ago
2.1.1
7 years ago
2.1.0
7 years ago
2.0.0
7 years ago
1.1.8
7 years ago
1.1.7
7 years ago
1.1.4
7 years ago
1.1.3
7 years ago
1.1.2
8 years ago
1.1.1
8 years ago
1.1.0
8 years ago
1.0.1
8 years ago
1.0.0
8 years ago