UNPKG

pyro

Version:
42 lines (41 loc) 1.19 kB
import { DefineComponent } from 'vue'; import { HTMLAttributes } from 'svelte/elements'; export interface ProgresscircleProps { /** Current value */ value: number; /** Max value */ max: number; /** Text in the middle of the progresscircle */ text?: string; /** Aria label */ 'aria-label': string; } declare module 'vue' { interface GlobalComponents { 'pyro-progresscircle': DefineComponent<ProgresscircleProps>; } } interface PyroProgresscirclePreact extends Omit<JSX.HTMLAttributes, keyof ProgresscircleProps>, ProgresscircleProps { } declare module 'preact/jsx-runtime' { namespace JSX { interface IntrinsicElements { 'pyro-progresscircle': PyroProgresscirclePreact; } } } interface PyroProgresscircleSvelte extends Omit<HTMLAttributes<any>, keyof ProgresscircleProps>, ProgresscircleProps { } declare module 'svelte/elements' { interface SvelteHTMLElements { 'pyro-progresscircle': PyroProgresscircleSvelte; } } declare module 'solid-js' { namespace JSX { interface IntrinsicElements { 'pyro-progresscircle': PyroProgresscirclePreact; } } } export {};