zoro-buttons
v1.1.2
Published
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
Downloads
4
Maintainers
Readme
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>
)