UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

17 lines 559 B
/** * ```js * import { onCommunityCreated } from '@amityco/ts-sdk-react-native' * const dispose = onCommunityCreated(community => { * // ... * }) * ``` * * Fired when a {@link Amity.Community} have been created * * @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 onCommunityCreated: (callback: Amity.Listener<Amity.InternalCommunity>) => Amity.Unsubscriber; //# sourceMappingURL=onCommunityCreated.d.ts.map