import React from 'react'; import { Link } from 'react-router'; import { ActionButton } from '/imports/client/components/ActionButton'; import { setQueryParam } from '/imports/client/app/utils/setQueryParam'; import { Button, Form, FormGroup, Label, Input, FormText, Col } from 'reactstrap'; import { Alert } from 'reactstrap'; import 'velocity-animate'; import 'velocity-animate/velocity.ui'; import { VelocityComponent, VelocityTransitionGroup, velocityHelpers } from 'velocity-react'; import ReactSVG from 'react-svg' export class LoginPane extends React.Component { render() { return (
Login
{ this.props.data.error } { this.props.data.message }
this.props.onLogin(e) }> this.props.onUpdate('email', e.currentTarget.value) } name="email" id="email" placeholder="Enter your email" /> this.props.onUpdate('password', e.currentTarget.value) } name="password" id="password" placeholder="Enter your password" /> Forgotten password?
); } }