UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

17 lines 530 B
/** * ```js * import { onPostDeclined } from '@amityco/ts-sdk-react-native' * const dispose = onPostDeclined(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 onPostDeclined: (callback: Amity.Listener<Amity.InternalPost>) => Amity.Unsubscriber; //# sourceMappingURL=onPostDeclined.d.ts.map