File size: 176 Bytes
c208e39
2804c18
 
 
c208e39
2804c18
 
1
2
3
4
5
6
7
8
export async function share(url: string, title: string) {
	if (navigator.share) {
		navigator.share({ url, title });
	} else {
		await navigator.clipboard.writeText(url);
	}
}