UNPKG

@fliklab/react-push-notification

Version:

Simple and easy-to-use web push notification library for React

10 lines (9 loc) 346 B
import { CreateSchedulePayload, UpdateSchedulePayload } from "@/types/schedule"; export declare const useSchedule: () => { schedules: any; loading: any; error: any; createSchedule: (payload: CreateSchedulePayload) => void; modifySchedule: (payload: UpdateSchedulePayload) => void; removeSchedule: (id: string) => void; };