UNPKG

pyro

Version:
38 lines (37 loc) 944 B
import { DefineComponent } from 'vue'; import { HTMLAttributes } from 'svelte/elements'; export interface ListProps { /** Header text */ header?: string; onClick?: (e: CustomEvent) => void; children?: any; } declare module 'vue' { interface GlobalComponents { 'pyro-list': DefineComponent<ListProps>; } } interface PyroListPreact extends Omit<JSX.HTMLAttributes, keyof ListProps>, ListProps { } declare module 'preact/jsx-runtime' { namespace JSX { interface IntrinsicElements { 'pyro-list': PyroListPreact; } } } interface PyroListSvelte extends Omit<HTMLAttributes<any>, keyof ListProps>, ListProps { } declare module 'svelte/elements' { interface SvelteHTMLElements { 'pyro-list': PyroListSvelte; } } declare module 'solid-js' { namespace JSX { interface IntrinsicElements { 'pyro-list': PyroListPreact; } } } export {};