svelte-shields
Version:
A collection of Shilds badge components for Svelte Runes
34 lines (33 loc) • 1.1 kB
TypeScript
import type { NpmVersionPropsType } from './types';
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
$$bindings?: Bindings;
} & Exports;
(internal: unknown, props: Props & {
$$events?: Events;
$$slots?: Slots;
}): Exports;
z_$$bindings?: Bindings;
}
/**
* [Go to docs](https://svelte-shields.codewithshin.com/)
* ## Props
* @prop packageName
* @prop tag
* @prop style
* @prop logo
* @prop logoColor
* @prop logoSize
* @prop label
* @prop labelColor
* @prop color
* @prop cacheSeconds
* @prop link
* @prop class: classname
* @prop ...attributes
*/
declare const NpmVersion: $$__sveltets_2_IsomorphicComponent<NpmVersionPropsType, {
[evt: string]: CustomEvent<any>;
}, {}, {}, "">;
type NpmVersion = InstanceType<typeof NpmVersion>;
export default NpmVersion;