UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

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