You can use the following to hook into the operating system's native share sheet
const share = navigator
.share({
title: '<TITLE>',
text: '<DESCRIPTION>',
url: '<URL>',
})
.then(() => console.log('Shared successfully'))
.catch(error => console.error(error))