'use strict';
const { Component, Fragment } = require('inferno');
const { cacheComponent } = require('../util/cache');
class Gallery extends Component {
render() {
const { head, cdn, url_for } = this.props;
if (head) {
return
;
}
return
;
}
}
module.exports = cacheComponent(Gallery, 'plugin.gallery', props => {
return {
head: props.head,
cdn: props.cdn,
url_for: props.url_for,
// for cache purpose only
_providers: props.providers.cdn
};
});