This package has been deprecated

Author message:

WARNING: This module has been renamed to @scaleflex/icons. Please install it instead. See https://github.com/scaleflex/ui/blob/master/packages/icons/README.md for more information.

@sfx-ui/icons
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-beta.1 • Public • Published

@sfx-ui/icons

SVG icons as React components.


Installation

npm i @sfx-ui/icons # react react-dom
yarn add @sfx-ui/icons # react react-dom

Make sure to have react and react-dom installed in your package as they are included in our peer dependencies.

Usage

Every icon present in this package is a pure React component, wrapping plain svg element. Each component is exported by default and gives access to the ref and className props, as well as standard svg attributes.

import DownloadIcon from '@sfx-ui/icons/download';

Readme

Keywords

Package Sidebar

Install

npm i @sfx-ui/icons

Weekly Downloads

3

Version

1.0.0-beta.1

License

MIT

Unpacked Size

509 kB

Total Files

312

Last publish

Collaborators

  • vitaly.shaposhnik