New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

jwe-components

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jwe-components

Components for JWE.

latest
Source
npmnpm
Version
0.3.3
Version published
Maintainers
2
Created
Source

JWE Components

Installation

Install via NPM:

npm i jwe-components --save

Dependencies

You will need to install and configure the react-native-svg npm package in order for this package to work.

npm i react-native-svg

Usage

At this point there are 3 components:

  • <JWE.Icon>,
  • <JWE.Progress.Circle>
  • <JWE.Progress.Line>.

Progress Example

  • <JWE.Progress.Circle percentage="20" size="15" color="#000000" bkgdColor="#e8e8e8" lineWidth="2" />
  • <JEW.Progress.Line percentage="20" size="15" color="#000000" bkgdColor="#e8e8e8" lineWidth="2" />

Props

PropDefaultDescription
percentage0The percentage of progress the chart should display.
size60The width of the progress indicator in pixels. This sets the height and width.
color#000000The HEX color value of the fill line.
bkgdColor#e8e8e8The HEX color value of the background circle.
lineWidth2The width of the fill line.

Icon Example

  • <JWE.Icon name="home" type="png" size={18} />
  • <JWE.Icon name="home" type="svg" size={18} color="green" />

Props

PropDefaultDescription
namehomeThe name of the icon.
size10The width of the progress indicator in pixels. This sets the height and width.
colorblackCan be any one of black, white, gray, or green. Note: Only works with SVG images.
typesvgCan be svg or png. Default to svg if left blank.

Keywords

progress

FAQs

Package last updated on 12 May 2020

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