UNPKG

pyro

Version:
38 lines (37 loc) 1.04 kB
import { DefineComponent } from 'vue'; import { HTMLAttributes } from 'svelte/elements'; export interface ScrollboxProps { /** Always shows the scrollbar, even when not needed*/ visible?: boolean; /** Contents */ children?: any; } declare module 'vue' { interface GlobalComponents { 'pyro-scrollbox': DefineComponent<ScrollboxProps>; } } interface PyroScrollboxPreact extends Omit<JSX.HTMLAttributes, keyof ScrollboxProps>, ScrollboxProps { } declare module 'preact/jsx-runtime' { namespace JSX { interface IntrinsicElements { 'pyro-scrollbox': PyroScrollboxPreact; } } } interface PyroScrollboxSvelte extends Omit<HTMLAttributes<any>, keyof ScrollboxProps>, ScrollboxProps { } declare module 'svelte/elements' { interface SvelteHTMLElements { 'pyro-scrollbox': PyroScrollboxSvelte; } } declare module 'solid-js' { namespace JSX { interface IntrinsicElements { 'pyro-scrollbox': PyroScrollboxPreact; } } } export {};