1
0
Fork 0
VaultUI/src/elements/MarginInline.ts

13 lines
292 B
TypeScript
Raw Normal View History

import { makeElement } from "../htmlUtils";
2021-04-15 13:01:58 +01:00
2021-05-08 03:33:22 +01:00
export function MarginInline(children: Element | Element[]): Element {
2021-04-15 13:01:58 +01:00
return makeElement({
tag: "div",
class: "uk-margin",
children: makeElement({
tag: "div",
class: "uk-inline",
2021-05-07 12:07:51 +01:00
children: children,
}),
2021-04-15 13:01:58 +01:00
});
}