Guest User

Untitled

a guest
May 22nd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. import React from 'react';
  2. import { inject, observer } from 'react-mobx';
  3. import t from 'root/i18n';
  4.  
  5. @inject('store') @observer
  6. export default class ComponentName extends React.Component {
  7. constructor(props) {
  8. super(props);
  9. this.props = props;
  10. this.store = this.props.store;
  11. }
  12.  
  13. render() {
  14. return <div>Component</div>;
  15. }
  16. }
Add Comment
Please, Sign In to add comment