0.1.20 • Published 1 year ago

prince-jogani v0.1.20

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

prince-jogani NPM package

Install

Install using npm install prince-jogani

Usage

In a React app, use the Button components:
import { Button } from 'prince-jogani'

Use like this

<Button
    // onClick={() => onClick()}
    // onProgress={() => console.log("asd")}
    // disabled
    // id="testingID"
    // className="btn-success"
    // textTransform="uppercase"
    // advanceCSS="onhoverzoom"
    // cursor="pointer"
    // prefix="$"
    // suffix="#"
    // vibrate={true}
    // border="1px solid #808080"
    // color="#fff"
    // background="#000"
    // fontSize="18px"
    // padding="10px 18px"
>
    Hey, I am Prince
</Button>

Button props

NametypeRequiredDefaultDescription
onClickFunctionfalseEmptyit's click event function
onProgressFunctionfalseEmptyprogerss event function
disabledBooleanfalsefalsedisable button
idStringfalse"unique"id use for DOM need to be unique
classNameStringfalseEmptyjust a className
textTransformStringfalse"unset"css textTransform property to be use
advanceCSSStringfalseEmptyonhoverzoom, onhoverup, onhovervibrate
cursorStringfalse"pointer"css cursor property to be use
prefixString, HTMLfalseEmptyit's button prefix value
suffixString, HTMLfalseEmptyit's button suffix value
vibrateBooleanfalsefalsevibrate usage wrong property will put
borderStringfalse"none"css border property to be use
colorStringfalse"white"css color property to be use
backgroundStringfalse"black"css background property to be use
fontSizeStringfalse"18px"css fontSize property to be use

Hey i am Prince Jogani

if any error facing with you than mail me at prince.jogani7@gmail.com with subject NPM prince-jogani and what is the error and also any suggestion for package than also mail me...

Keep coding, Keep working.

Thanks for Visit us.

0.1.20

1 year ago

0.1.19

1 year ago

0.1.18

1 year ago

0.1.17

1 year ago

0.1.16

1 year ago

0.1.15

1 year ago

0.1.14

1 year ago

0.1.13

1 year ago

0.1.12

1 year ago

0.1.11

1 year ago

0.1.10

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago