UNPKG

@charkour/react-reactions

Version:

😲 Create custom reaction pickers and counters or use your favorites!

12 lines (11 loc) • 457 B
import React from 'react'; import { CounterObject } from '../../helpers'; export interface SlackCounterProps { counters?: CounterObject[]; user?: string; onSelect?: (emoji: string) => void; onAdd?: () => void; } export declare const SlackCounter: React.ForwardRefExoticComponent<SlackCounterProps & React.RefAttributes<HTMLDivElement>>; export declare const defaultProps: Required<SlackCounterProps>; export default SlackCounter;