2019-12-23 22:11:22 +00:00
|
|
|
const { Component } = require('inferno');
|
2020-01-23 04:07:43 +00:00
|
|
|
const Categories = require('hexo-component-inferno/lib/view/widget/categories');
|
2019-12-23 22:11:22 +00:00
|
|
|
|
|
|
|
module.exports = class extends Component {
|
|
|
|
render() {
|
2019-12-24 05:36:39 +00:00
|
|
|
const { site, page, helper } = this.props;
|
2019-12-23 22:11:22 +00:00
|
|
|
|
|
|
|
return <Categories site={site} page={page} helper={helper} />;
|
|
|
|
}
|
2019-12-24 05:36:39 +00:00
|
|
|
};
|