blog/themes/icarus/layout/categories.jsx

11 lines
324 B
React
Raw Normal View History

2021-06-09 00:31:52 +00:00
const { Component } = require('inferno');
const Categories = require('hexo-component-inferno/lib/view/widget/categories');
module.exports = class extends Component {
render() {
const { site, page, helper } = this.props;
return <Categories.Cacheable site={site} page={page} helper={helper} />;
}
};