'use client' import React, { JSX, useCallback } from 'react' import InputLabel from './InputLabel' export default function SharedLinkField({ value, onChange, }: { value: string onChange: (v: string) => void }): JSX.Element { const handleChange = useCallback( function (e: React.ChangeEvent): void { onChange(e.target.value) }, [onChange], ) return (
Shared Link (optional)

You can paste either a full URL or just the slug. When shared, multiple uploaders can provide the same files, making downloads more reliable.

) }