Spaces:
Runtime error
Runtime error
File size: 175 Bytes
faca43f |
1 2 3 4 5 6 7 8 |
export function share(url: string, title: string) {
if (navigator.share) {
navigator.share({ url, title });
} else {
prompt("Copy this public url to share:", url);
}
}
|