0.3.3 • Published 4 years ago

jwe-components v0.3.3

Weekly downloads
39
License
SEE LICENSE IN <L...
Repository
gitlab
Last release
4 years ago

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.
0.3.3

4 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.13

5 years ago

0.2.12

5 years ago

0.2.11

5 years ago

0.2.10

5 years ago

0.2.9

5 years ago

0.2.8

5 years ago

0.2.7

5 years ago

0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.1.0

5 years ago