mirror of
https://github.com/Unleash/unleash.git
synced 2025-04-06 01:15:28 +02:00
* changed do @babel/preset-env * runned lint fix * added beforeEach in ui-config-store-test
19 lines
566 B
JavaScript
19 lines
566 B
JavaScript
import React, { PureComponent } from 'react';
|
|
import PropTypes from 'prop-types';
|
|
import ViewFeatureToggle from './../../component/feature/view-container';
|
|
|
|
export default class Features extends PureComponent {
|
|
static propTypes = {
|
|
match: PropTypes.object.isRequired,
|
|
history: PropTypes.object.isRequired,
|
|
};
|
|
|
|
render() {
|
|
const {
|
|
match: { params },
|
|
history,
|
|
} = this.props;
|
|
return <ViewFeatureToggle featureToggleName={params.name} activeTab={params.activeTab} history={history} />;
|
|
}
|
|
}
|