UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

17 lines 550 B
/** * ```js * import { onPostReactionAdded } from '@amityco/ts-sdk-react-native' * const dispose = onPostReactionAdded(post => { * // ... * }) * ``` * * Fired when a {@link Amity.InternalPost} has been reacted * * @param callback The function to call when the event was fired * @returns an {@link Amity.Unsubscriber} function to stop listening * * @category Post Events */ export declare const onPostReactionAdded: (callback: Amity.Listener<Amity.InternalPost>) => Amity.Unsubscriber; //# sourceMappingURL=onPostReactionAdded.d.ts.map