Developer ReferenceDashboard (Wish)ComponentsDashboard
components/dashboard/sharing
Functions
Sharing()
function Sharing(__namedParameters): Element;Defined in: components/dashboard/sharing.tsx:60
Renders the link cards, a notice when the admin disabled sharing, or
nothing while show is false.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | SharingProps |
Returns
Element
handleCopyLink()
function handleCopyLink(
fullUrl,
id,
label
): Promise<void>;Defined in: components/dashboard/sharing.tsx:84
Copies a link to the local clipboard and reports the outcome as a toast.
Parameters
| Parameter | Type |
|---|---|
fullUrl | string |
id | string |
label | string |
Returns
Promise<void>