1
0
Fork 0

Remove some elements that are no longer in use.

This commit is contained in:
Kitteh 2021-05-23 13:46:35 +01:00
parent c86b5f9f61
commit 7672eaa32a
3 changed files with 0 additions and 51 deletions

View file

@ -1,23 +0,0 @@
import { makeElement } from "z-makeelement";
export function HeaderAndContent(title: string, content: string): HTMLElement {
return makeElement({
tag: "tr",
children: [
makeElement({
tag: "td",
children: makeElement({
tag: "h5",
text: title,
}),
}),
makeElement({
tag: "td",
children: makeElement({
tag: "p",
text: content,
}),
}),
],
});
}

View file

@ -1,20 +0,0 @@
import { Margin } from "./Margin";
import { makeElement } from "z-makeelement";
export function InputWithTitle(title: string, children: Element | Element[]): Element {
return Margin([
makeElement({
tag: "label",
class: "uk-form-label",
children: makeElement({
tag: "span",
text: title,
}),
}),
makeElement({
tag: "div",
class: "uk-form-controls uk-form-controls-text uk-margin-small-top",
children: children,
}),
]);
}

View file

@ -1,8 +0,0 @@
import { makeElement } from "z-makeelement";
export function ListItem(children: Element[] | Element): HTMLElement {
return makeElement({
tag: "li",
children: children,
});
}