UNPKG

@jay-js/ui

Version:

A library of UI components for Jay JS with Tailwind CSS and daisyUI.

6 lines (5 loc) 519 B
import { mergeClasses } from "../../utils/mergeClasses.js"; import { uniKey } from "../../utils/uniKey.js"; import { TBase, TBaseTagMap, TStyle } from "./Base.types.js"; export declare function Base<T extends TBaseTagMap = "div">({ id, tag, ref, style, children, dataset, className, listeners, onmount, ...props }?: TBase<T>): HTMLElementTagNameMap[T]; declare function appendChildToBase(base: HTMLElement, child: string | Node | boolean | null | undefined | Promise<string | Node | boolean | null | undefined>): void;