var React = require('react/addons');

var classNames = require('classnames');

module.exports = React.createClass({
	displayName: 'PopupIcon',
	propTypes: {
		name: React.PropTypes.string,
		type: React.PropTypes.string,
		spinning: React.PropTypes.bool
	},
	render: function() {
		var className = classNames('Modal-icon', {
			'is-spinning': this.props.spinning
		}, this.props.name, this.props.type);

		return <div className={className} />;
	}
});

@@ -30,17 +30,16 @@
 dons');%0A
-%0A
 var clas
@@ -201,30 +201,94 @@
 t.PropTypes.
-string
+oneOf(%5B'default', 'muted', 'primary', 'success', 'warning', 'danger'%5D)
 ,%0A%09%09spinning
@@ -314,16 +314,17 @@
 ool%0A%09%7D,%0A
+%0A
 %09render:
@@ -332,16 +332,17 @@
 function
+ 
 () %7B%0A%09%09v

use oneOf to limit types