diff --git a/src/UI/Components/Glyph.js b/src/UI/Components/Glyph.js new file mode 100644 index 000000000..2d58dadfc --- /dev/null +++ b/src/UI/Components/Glyph.js @@ -0,0 +1,28 @@ +import { Component } from "../../util/Component.js"; + +export default def(class Glyph extends Component { + static ID = 'ui.component.Glyph'; + + static PROPERTIES = { + size: { + value: 24, + }, + codepoint: { + value: '✅', + }, + } + + static CSS = ` + div { + text-align: center; + } + `; + + create_template ({ template }) { + template.innerHTML = /*html*/` +