UNPKG

svelte-reactions

Version:
21 lines (20 loc) 695 B
import { SvelteComponentTyped } from "svelte"; import type { ReactionType } from './types'; declare const __propDef: { props: { reaction?: ReactionType | undefined; position: number; handleClick?: (() => void) | undefined; }; events: { [evt: string]: CustomEvent<any>; }; slots: {}; }; export declare type ReactionProps = typeof __propDef.props; export declare type ReactionEvents = typeof __propDef.events; export declare type ReactionSlots = typeof __propDef.slots; export default class Reaction extends SvelteComponentTyped<ReactionProps, ReactionEvents, ReactionSlots> { get handleClick(): () => void; } export {};