15c10376b0
To conform with naming conventions regarding functions, which the templates are.
12 lines
349 B
JavaScript
12 lines
349 B
JavaScript
import tplIcons from '../templates/icons.js';
|
|
import { CustomElement } from './element.js';
|
|
import { api } from '@converse/headless/core.js';
|
|
|
|
export class FontAwesome extends CustomElement {
|
|
render () { // eslint-disable-line class-methods-use-this
|
|
return tplIcons();
|
|
}
|
|
}
|
|
|
|
api.elements.define('converse-fontawesome', FontAwesome);
|