'use strict'; const React = require('react'); const FeatureActions = require('../../stores/FeatureToggleActions'); const ArchiveFeatureComponent = React.createClass({ onRevive (item) { FeatureActions.revive.triggerPromise(item); }, render () { return (

Archived Feature Toggles


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