(url: string, { title }: { title?: string })
| 4 | import ShareButton, { type ShareButtonProps } from './ShareButton'; |
| 5 | |
| 6 | function threadsLink(url: string, { title }: { title?: string }) { |
| 7 | assert(url, 'threads.url'); |
| 8 | |
| 9 | return ( |
| 10 | 'https://threads.net/intent/post' + |
| 11 | objectToGetParams({ |
| 12 | url, |
| 13 | text: title, |
| 14 | }) |
| 15 | ); |
| 16 | } |
| 17 | |
| 18 | type ThreadsShareButtonProps = Omit<ShareButtonProps<{ title?: string }>, 'title'> & { |
| 19 | /** @deprecated This prop is ignored and will be removed in v6. */ |
nothing calls this directly
no test coverage detected
searching dependent graphs…