import {observer} from 'mobx-react'; import * as React from 'react'; import styles from './ErrorMessage.scss'; import classNames from 'classnames'; interface ErrorMessageProps { text: string; className?: string; } @observer export class ErrorMessage extends React.Component { public render() { const {text, className} = this.props; return
{text}
; } }