Skip to content
Permalink
Browse files

Added constructor method to the <TextWidget> class, to be used for in…

…itializing the widget state.
  • Loading branch information
maratbn committed Aug 5, 2018
1 parent 7ac6290 commit 07d74e9dc273f089efadda339b75c60b4720bc36
Showing with 4 additions and 0 deletions.
  1. +4 −0 webpack_in/entry.jsx
@@ -45,6 +45,10 @@ class HelloWidget extends React.Component {
}

class TextWidget extends React.Component {
constructor(props) {
super(props);
}

render() {
return (
<div style={ objStyleCommon }>

0 comments on commit 07d74e9

Please sign in to comment.
You can’t perform that action at this time.