'use strict';
const { Component, Fragment } = require('inferno');
const { cacheComponent } = require('../util/cache');
class BackToTop extends Component {
render() {
const { head, title, url_for } = this.props;
if (head) {
return ;
}
return
;
}
}
module.exports = cacheComponent(BackToTop, 'plugin.backtotop', props => {
return {
head: props.head,
title: props.__('plugin.backtotop'),
url_for: props.url_for
};
});