1.1.2 • Published 1 year ago

zoro-buttons v1.1.2

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

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>
    )