Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@synerise/ds-icon

Package Overview
Dependencies
Maintainers
1
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@synerise/ds-icon

Icon UI Component for the Synerise Design System

  • 0.2.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.3K
decreased by-40.98%
Maintainers
1
Weekly downloads
 
Created
Source

id: icon title: Icon


Icon UI Component

Single icon

Icon list

Installation

npm i @synerise/ds-icon
or
yarn add @synerise/ds-icon

Usage

import Icon from '@synerise/ds-layout'
import AngleLeftM from '@synerise/ds-icon/dist/icons/AngleLeftM';

<Icon component={<AngleLeftM />
      color={'red'}
      title={'customIcon'}
      size={20}
      className={'classIcon'}
/>

API

PropertyDescriptionTypeDefault
colorDefine the color usedstringinherit
titleName iconstring
sizeDefine size iconstring or number24
typeDefine custom type of special category iconsstring
onClickThe callback function that is triggered when click on iconfucnction
componentThe component used for the root nodeReactNode
classNameicon classNamestring
styleStyle properties of icon, like color etc.CSSProperties

FAQs

Package last updated on 21 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc