/
githubmirror
/
Prompt-Engineering-Guide
Обзор
Документация
Войти
/
githubmirror
/
Prompt-Engineering-Guide
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
components/copy.tsx
32 строки
747 B
Elvis Saravia
Fix TypeScript type conflicts in all components
28 дек 2025, 20:18
28 дек 2025, 20:18
bdf4388
Код
Авторство
О чём код?
import type { ReactElement, SVGAttributes } from 'react' export function CopyIcon(props: SVGAttributes<SVGElement>): ReactElement { return ( <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="currentColor" {...(props as any)} > <rect x="9" y="9" width="13" height="13" rx="2" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" /> <path d="M5 15H4C2.89543 15 2 14.1046 2 13V4C2 2.89543 2.89543 2 4 2H13C14.1046 2 15 2.89543 15 4V5" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" /> </svg> ) }