hexo-theme-amane/layout/categories.jsx

11 lines
324 B
JavaScript

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} />;
}
};