import React, { PropTypes } from 'react' import Icon from '../Icon' import * as helpers from '../../helpers' export default class InitialSetupModal extends React.Component{ constructor(props){ super(props); this.state = { username: 'Anonymous' } } handleSubmit(e){ // save and falseify show_initial_setup } handleCancel(e){ // falseify show_initial_setup } render(){ return (

Welcome to Iris

this.handleSubmit(e)}>
Username
this.setState({username: e.target.value.replace(/\W/g, '')})} value={this.state.username } />
A non-unique string used to identify this client (no special characters)
) } }