/
githubmirror
/
Prompt-Engineering-Guide
Обзор
Документация
Войти
/
githubmirror
/
Prompt-Engineering-Guide
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
components/word-wrap.tsx
12 строк
421 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 WordWrapIcon(props: SVGAttributes<SVGElement>): ReactElement { return ( <svg viewBox="0 0 24 24" width="24" height="24" {...(props as any)}> <path fill="currentColor" d="M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z" /> </svg> ) }