var React = require('react')
var Icon = require('icon.jsx')
var Error = React.createClass({
render () {
return
Ooops
{'' + this.props.error || 'Something went wrong'}
{ this.props.children }
}
})
var Loading = React.createClass({
render () {
return
{this.props.title}
{ this.props.children }
}
})
var Saving = React.createClass({
render () {
return
{ this.props.title || 'Publishing' }
{ this.props.children }
}
})
var Success = React.createClass({
render () {
return
{ this.props.title || 'Done' }
{ this.props.children }
}
})
module.exports = { Error, Loading, Saving, Success }