UNPKG

reactjs-tiptap-editor

Version:

A modern WYSIWYG rich text editor based on tiptap and shadcn ui for React

20 lines (19 loc) 604 B
interface HttpRequestHeadersInterfaceMock { [id: string]: string | string[] | undefined; } interface HttpRequestInterfaceMock { headers: HttpRequestHeadersInterfaceMock; [id: string]: any; } export interface IsMobileOptions { ua?: string | HttpRequestInterfaceMock; tablet?: boolean; featureDetect?: boolean; } /** * Determines if the current device is a mobile or tablet device. * @param opts - Options for the detection. * @returns `true` if the device is mobile or tablet, `false` otherwise. */ export declare function isMobile(opts?: IsMobileOptions): boolean; export {};