npm.io
1.1.0 • Published 4 years ago

@friday-team/icons

Licence
MIT
Version
1.1.0
Deps
2
Size
189 kB
Vulns
0
Weekly
0
Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)

Иконки

Release Commitizen friendly

Как импортить иконки в проект

import { Plus } from '@friday-team/regular/Plus';

или

import Plus from '@friday-team/regular/Plus';

Цвет иконок

В пакете @friday-team/* цвет иконок задается атрибутом fill="currentColor", т.е. цвет наследуется от родительского свойства color.

Внимание!

Компоненту иконки нужно задать ширину, высоту и цвет.

<Plus width={16} height={16} fill="#222">