admin/types/mapir-react-component.d.ts
alisaza e1eaf5eff5 feat: initial ghabilee-admin backoffice app
Extract admin dashboard from ghabilee-frontend2 into a dedicated Next.js
app for backoffice.ghabilee.ir (no SEO indexing / Clarity).
2026-09-05 13:12:59 +03:30

13 lines
396 B
TypeScript

declare module 'mapir-react-component' {
import type { ComponentType } from 'react'
interface MapirStatic {
setToken(opts: Record<string, unknown>): ComponentType<Record<string, unknown>>
Marker: ComponentType<Record<string, unknown>>
Popup: ComponentType<Record<string, unknown>>
}
const Mapir: ComponentType<Record<string, unknown>> & MapirStatic
export default Mapir
}