UNPKG

pyro

Version:
40 lines (39 loc) 1.1 kB
import { DefineComponent } from 'vue'; import { HTMLAttributes } from 'svelte/elements'; export interface SelectItemProps { /** Current value */ value: string; /** Label/text, overriden by default slot */ label: string; /** Contents, overrides label */ children?: any; } declare module 'vue' { interface GlobalComponents { 'pyro-select-item': DefineComponent<SelectItemProps>; } } interface PyroSelectItemPreact extends Omit<JSX.HTMLAttributes, keyof SelectItemProps>, SelectItemProps { } declare module 'preact/jsx-runtime' { namespace JSX { interface IntrinsicElements { 'pyro-select-item': PyroSelectItemPreact; } } } interface PyroSelectItemSvelte extends Omit<HTMLAttributes<any>, keyof SelectItemProps>, SelectItemProps { } declare module 'svelte/elements' { interface SvelteHTMLElements { 'pyro-select-item': PyroSelectItemSvelte; } } declare module 'solid-js' { namespace JSX { interface IntrinsicElements { 'pyro-select-item': PyroSelectItemPreact; } } } export {};