diff --git a/src/elements/HeaderAndContent.ts b/src/elements/HeaderAndContent.ts deleted file mode 100644 index 9f5dbff..0000000 --- a/src/elements/HeaderAndContent.ts +++ /dev/null @@ -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, - }), - }), - ], - }); -} diff --git a/src/elements/InputWithTitle.ts b/src/elements/InputWithTitle.ts deleted file mode 100644 index 809b345..0000000 --- a/src/elements/InputWithTitle.ts +++ /dev/null @@ -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, - }), - ]); -} diff --git a/src/elements/ListItem.ts b/src/elements/ListItem.ts deleted file mode 100644 index b63d19f..0000000 --- a/src/elements/ListItem.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { makeElement } from "z-makeelement"; - -export function ListItem(children: Element[] | Element): HTMLElement { - return makeElement({ - tag: "li", - children: children, - }); -}