UNPKG

vue-tweet-pure

Version:

A Vue 3 component for embedding tweets in your Vue.js applications.

8 lines (7 loc) 398 B
import type { Tweet } from '../api'; export declare function useTweet(id: string, apiUrl: string, fetchOptions?: RequestInit): { isLoading: import("vue").Ref<boolean, boolean>; data: import("vue").Ref<Tweet | null | undefined, Tweet | null | undefined>; error: import("vue").Ref<Error | null, Error | null>; }; export declare function useMounted(): import("vue").Ref<boolean, boolean>;