jay-js
Version:
Jay is a framework for creating a single page application.
16 lines (15 loc) • 431 B
TypeScript
import "./Space.style.css";
declare type SpaceType = {
id?: string;
tag?: string;
size?: "small" | "medium" | "large";
style?: Partial<CSSStyleDeclaration>;
events?: Array<{
name: string;
callback: (e: Event) => void;
}>;
className?: string | Function;
attributes?: Array<[string, string]>;
};
export declare const Space: (props: SpaceType) => HTMLElement;
export {};