@amityco/ts-sdk-react-native
Version:
Amity Social Cloud Typescript SDK
17 lines • 550 B
TypeScript
/**
* ```js
* import { onCommentUpdated } from '@amityco/ts-sdk-react-native'
* const dispose = onCommentUpdated(comment => {
* // ...
* })
* ```
*
* Fired when a {@link Amity.InternalComment} has been updated
*
* @param callback The function to call when the event was fired
* @returns an {@link Amity.Unsubscriber} function to stop listening
*
* @category Comment Events
*/
export declare const onCommentUpdated: (callback: Amity.Listener<Amity.InternalComment>) => Amity.Unsubscriber;
//# sourceMappingURL=onCommentUpdated.d.ts.map