@herberthtk/react-native-animated-reactions
Version:
Facebook inspired animated reactions component
15 lines • 471 B
TypeScript
export type Reaction = {
id: string;
iconUrl: string;
};
type ReactionBarProps = {
onDismiss: () => void;
onReactionSelect: (reaction: Reaction) => void;
};
export type ReactionBarRef = {
showReactions: () => void;
dismissReactions: () => void;
};
declare const ReactionBar: import("react").ForwardRefExoticComponent<ReactionBarProps & import("react").RefAttributes<ReactionBarRef>>;
export default ReactionBar;
//# sourceMappingURL=index.d.ts.map