@elemental-design/expo-notifications
Version:
9 lines • 441 B
JavaScript
import { UnavailabilityError } from '@unimodules/core';
import NotificationPresenter from './NotificationPresenter';
export default async function deleteCategoryAsync(categoryId) {
if (!NotificationPresenter.deleteCategoryAsync) {
throw new UnavailabilityError('Notifications', 'deleteCategoryAsync');
}
return await NotificationPresenter.deleteCategoryAsync(categoryId);
}
//# sourceMappingURL=deleteCategoryAsync.js.map