claritykit-svelte
Version:
A comprehensive Svelte component library focused on accessibility, ADHD-optimized design, developer experience, and full SSR compatibility
39 lines • 1.39 kB
TypeScript
import type { MessageReaction, ReactionSet } from './types.js';
type $$ComponentProps = {
reactions: MessageReaction[];
currentUserId: string;
reactionSets?: ReactionSet[];
defaultReactionSet?: string;
maxDisplayCount?: number;
showAddButton?: boolean;
showUserAvatars?: boolean;
animated?: boolean;
class?: string;
};
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 & {
$set?: any;
$on?: any;
};
z_$$bindings?: Bindings;
}
declare const MessageReactions: $$__sveltets_2_IsomorphicComponent<$$ComponentProps, {
react: CustomEvent<{
emoji: string;
}>;
showUsers: CustomEvent<{
reactionId: string;
users: MessageReaction["users"];
}>;
} & {
[evt: string]: CustomEvent<any>;
}, {}, {}, "">;
type MessageReactions = InstanceType<typeof MessageReactions>;
export default MessageReactions;
//# sourceMappingURL=MessageReactions.svelte.d.ts.map