UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

17 lines 546 B
/** * ```js * import { onPostUpdatedLocal } from '@amityco/ts-sdk-react-native' * const dispose = onPostUpdatedLocal(post => { * // ... * }) * ``` * * Fired when a {@link Amity.InternalPost} has been updated * * @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 onPostUpdatedLocal: (callback: Amity.Listener<Amity.InternalPost>) => Amity.Unsubscriber; //# sourceMappingURL=onPostUpdatedLocal.d.ts.map