diff --git a/src/widgets/invitation.jsx b/src/widgets/invitation.jsx new file mode 100644 index 00000000..19dd7102 --- /dev/null +++ b/src/widgets/invitation.jsx @@ -0,0 +1,43 @@ +// A single topic or user. +import React from 'react'; +import { FormattedMessage } from 'react-intl'; + +export default class Invitation extends React.PureComponent { + constructor(props) { + super(props); + + this.handleButtonAction = this.handleButtonAction.bind(this); + } + + handleButtonAction(evt, data) { + evt.preventDefault(); + console.log("button clicked", data); + this.props.onAction(data); + } + + render() { + return ( +
+
+ +
+
+ + + +
+
+ ); + } +};