18 lines
400 B
TypeScript
18 lines
400 B
TypeScript
import { Component } from "./jsx/jsx-runtime.ts";
|
|
|
|
export const Main: Component = (attributes, children) => (
|
|
<div {...attributes} id="main">
|
|
{...children}
|
|
</div>
|
|
);
|
|
|
|
export const HCenter: Component = (attributes, children) => (
|
|
<div
|
|
{...attributes}
|
|
class="hcenter"
|
|
style="display: flex; justify-content: center;"
|
|
>
|
|
{...children}
|
|
</div>
|
|
);
|