zoro-buttons

1.1.2 • Public • Published

ZoRo Button Released

This package is a sample for publish first package in npmjs.com
and it's developed by ZoRoDevelopers with this member Nazanin Roozbahani and Mohammad Zolghadr

How To Use

You can create a

+ import { ZoroButton } from "zoro-button";
    return (
        <div>
+            <ZoroButton />
        </div>
    )

if you want to use a preStyle or your text, you can add data props with color or text value.
Our preStyle is "success" | "error" | "info" | "warning" | "dark" | "light"
Ex :

  return (
        <div>
+            <ZoroButton data={{text : "Your Text" , color : "success"}} />
        </div>
    )

if you want to set your custom color, you must add your hex color code into color props.

Notice :

Your color code must start with #

  return (
        <div>
+            <ZoroButton data={{text : "Your Text" , color : "#aa2222"}} />
        </div>
    )

Package Sidebar

Install

npm i zoro-buttons

Weekly Downloads

0

Version

1.1.2

License

ISC

Unpacked Size

40.5 kB

Total Files

6

Last publish

Collaborators

  • zorodevelopers