/
githubmirror
/
Motrix
Обзор
Документация
Войти
/
githubmirror
/
Motrix
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/renderer/components/Icons/image.js
17 строк
590 B
Dr_rOot
feat: add file type icon
16 май 2019, 15:05
16 май 2019, 15:05
f35e696
Код
Авторство
О чём код?
import Icon from '@/components/Icons/Icon' Icon.register({ 'image': { 'width': 24, 'height': 24, 'raw': `<polyline data-cap="butt" data-color="color-2" points="1 20 6 14 10 18 17 10 23 17" fill="none" stroke-miterlimit="10"/> <rect x="1" y="3" width="22" height="18" fill="none" stroke="currentColor" stroke-miterlimit="10"/> <circle data-color="color-2" cx="9" cy="8" r="2" fill="none" stroke-miterlimit="10"/>`, 'g': { 'stroke': 'currentColor', 'stroke-linecap': 'round', 'stroke-linejoin': 'round', 'stroke-width': '2' } } })