chore(clipboard): expose Clipboard struct (#1185)

This commit is contained in:
Amr Bashir authored and GitHub committed 2024-04-15 10:53:32 +02:00
1 parent 3dca7ff5ea
commit 27b258cf31
2 files changed
+7 -2

No files matched your search

+2 -2
View File
@@ -30,9 +30,9 @@ mod models;
pub use error::{Error, Result};
#[cfg(desktop)]
use desktop::Clipboard;
pub use desktop::Clipboard;
#[cfg(mobile)]
use mobile::Clipboard;
pub use mobile::Clipboard;
/// Extensions to [`tauri::App`], [`tauri::AppHandle`], [`tauri::WebviewWindow`], [`tauri::Webview`] and [`tauri::Window`] to access the clipboard APIs.
pub trait ClipboardExt<R: Runtime> {