var React = require("react"); var FeatureActions = require('../../stores/FeatureToggleActions'); var ArchiveFeatureComponent = React.createClass({ onRevive: function(item) { FeatureActions.revive.triggerPromise(item); }, render: function () { return (

Archived Feature Toggles


{this.props.archivedFeatures.map(this.renderArchivedItem)}
Name
); }, renderArchivedItem: function(f) { return ( {f.name}
{f.description} ); } }); module.exports = ArchiveFeatureComponent;