import { observable, action } from "mobx"
import { observable, action } from "mobx"class ${1:ClassName} {@observable title = ''}export default ${1:ClassName}
class ${1:ClassName} {@observable title = ''}
@observable $1 = $2
@action ${1:boundClassMethod} = () => {$2}
runInAction(() => {$1})
import { observer } from "mobx-react"
import { observer } from "mobx-react/native"
/* eslint no-useless-constructor:0 */import React, { Component } from 'react'import {View,Text,StyleSheet,} from 'react-native'import { observer } from 'mobx-react/native'@observerclass ${1:MyComponent} extends Component {constructor(props) {super(props)}componentDidMount() {}render() {return (<View style={styles.container}><Text>I am the ${1:MyComponent} component</Text></View>)}}const styles = StyleSheet.create({container: {flex: 1,},})export default ${1:MyComponent}
import React, { Component } from 'react'import {View,Text,StyleSheet,} from 'react-native'import { observer } from 'mobx-react/native'@observerclass ${1:MyComponent} extends Component {render() {return (<View style={styles.container}><Text>I am the ${1:MyComponent} component</Text></View>)}}const styles = StyleSheet.create({container: {flex: 1,},})export default ${1:MyComponent}
import { observer } from 'mobx-react'import React from 'react'import { View, Text, StyleSheet } from 'react-native'import PropTypes from 'prop-types'function ${1:componentName}({ style }) {return (<View style={[styles.container, style]} />)}${1:componentName}.propTypes = {}${1:componentName}.defaultProps = {}const styles = StyleSheet.create({container: {},})export default observer(${1:componentName})
const ${1:FuncName} = observer(({ ${2:props} }) => (<view />))
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.