mirror of
https://github.com/strapi/strapi.git
synced 2025-08-07 08:16:35 +00:00
31 lines
497 B
JavaScript
31 lines
497 B
JavaScript
/**
|
|
*
|
|
* Plugin
|
|
*
|
|
*/
|
|
|
|
import React from 'react';
|
|
|
|
import PluginHeader from 'components/PluginHeader';
|
|
|
|
|
|
class Plugin extends React.Component { // eslint-disable-line react/prefer-stateless-function
|
|
render() {
|
|
return (
|
|
<div>
|
|
<PluginHeader
|
|
title={this.props.title}
|
|
description={this.props.description}
|
|
/>
|
|
</div>
|
|
);
|
|
}
|
|
}
|
|
|
|
Plugin.propTypes = {
|
|
title: React.PropTypes.object,
|
|
description: React.PropTypes.object,
|
|
};
|
|
|
|
export default Plugin;
|