Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React from 'react';
- import { inject, observer } from 'react-mobx';
- import t from 'root/i18n';
- @inject('store') @observer
- export default class ComponentName extends React.Component {
- constructor(props) {
- super(props);
- this.props = props;
- this.store = this.props.store;
- }
- render() {
- return <div>Component</div>;
- }
- }
Add Comment
Please, Sign In to add comment