(props: OpenInClaudeProps)
| 267 | export type OpenInClaudeProps = ComponentProps<typeof DropdownMenuItem>; |
| 268 | |
| 269 | export const OpenInClaude = (props: OpenInClaudeProps) => { |
| 270 | const { query } = useOpenInContext(); |
| 271 | return ( |
| 272 | <DropdownMenuItem asChild {...props}> |
| 273 | <a |
| 274 | className="flex items-center gap-2" |
| 275 | href={providers.claude.createUrl(query)} |
| 276 | rel="noopener" |
| 277 | target="_blank" |
| 278 | > |
| 279 | <span className="shrink-0">{providers.claude.icon}</span> |
| 280 | <span className="flex-1">{providers.claude.title}</span> |
| 281 | <ExternalLinkIcon className="size-4 shrink-0" /> |
| 282 | </a> |
| 283 | </DropdownMenuItem> |
| 284 | ); |
| 285 | }; |
| 286 | |
| 287 | export type OpenInT3Props = ComponentProps<typeof DropdownMenuItem>; |
| 288 |
nothing calls this directly
no test coverage detected