import * as React from "react";
import { classes } from "./helpers";
export interface IElement {
style?: string | null | (string | null | undefined)[];
children?: React.ReactNode;
}
export function Row(props: IElement) {
return (
{props.children}
);
}
export function Column(props: IElement) {
return (
{props.children}
);
}
export function Grid(props: IElement) {
return (
{props.children}
);
}
export function GridRow(props: IElement) {
return (
{props.children}
);
}
export function GridColumn(props: IElement) {
return (
{props.children}
);
}
export function Stack(props: IElement) {
return (
{props.children}
);
}
export function Icon(props: IElement & { icon: string }) {
return (
);
}
export function Style(props: IElement & { theme: string }) {
return (
{props.children}
);
}
export function Button(
props: IElement & { enabled?: boolean; onClick?: () => void }
) {
return (
);
}
export function AddButton(
props: IElement & { enabled?: boolean; onClick?: () => void }
) {
return (
);
}
export function If(props: { test: boolean; children: React.ReactNode }) {
if (props.test == true) {
return {props.children};
} else {
return null;
}
}