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
Publishing...
{ this.props.children }
}
})
module.exports = { Error, Loading, Saving }