File size: 175 Bytes
2804c18
 
 
 
 
 
 
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);
	}
}