UNPKG

svelte-ux

Version:

A large collection of Svelte components, actions, stores and utils to simplify creating highly interactive and visual applications. Built using Tailwind with extensibility and customization in mind.

22 lines (21 loc) 673 B
import { SvelteComponentTyped } from "svelte"; declare class __sveltets_Render<T> { props(): { initial?: T | null | undefined; }; events(): {} & { [evt: string]: CustomEvent<any>; }; slots(): { default: { value: T | null; set: (newValue: T) => void; }; }; } export type StateProps<T> = ReturnType<__sveltets_Render<T>['props']>; export type StateEvents<T> = ReturnType<__sveltets_Render<T>['events']>; export type StateSlots<T> = ReturnType<__sveltets_Render<T>['slots']>; export default class State<T> extends SvelteComponentTyped<StateProps<T>, StateEvents<T>, StateSlots<T>> { } export {};