UNPKG

@deckyfx/dioxus-react-bridge

Version:

React hooks and components for Dioxus IPC communication - lightweight bridge between React and Rust

20 lines 569 B
/** * Global Type Declarations Module * * This module enables importing global type declarations as a side-effect. * When you import this module, TypeScript will load the global.d.ts file * and make window.dioxusBridge and related types available. * * @example * ```typescript * import '@deckyfx/dioxus-react-bridge/global'; * * // Now you can use window.dioxusBridge with full type safety * const response = await window.dioxusBridge.request({ * method: 'POST', * path: '/api/greeting', * }); * ``` */ export {}; //# sourceMappingURL=global.js.map