svelte-reactions
Version:
Easy to use emoji reactions for your app.
21 lines (20 loc) • 695 B
TypeScript
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 {};