1.0.2 • Published 4 years ago
mycrystalball v1.0.2
mycrystalball
mycrystalball is a Crystal ball that tell you the best.
Installation
npm install mycrystalball
Usage
import mycrystalball
mycrystalball() # returns 'Something'
Example
import mycrystalball
const [value, setValue] = React.useState("")
const mycrystalballfunc = () => {
setValue(mycrystalball())
}
<p className="description">
<button type="button" className="btn btn-primary" onClick={mycrystalballfunc}>Tell me something!</button>
</p>
{value && <div className="card border-primary mb-3">
<div className="card-body text-primary">
<p className="card-text">{value}</p>
</div>
</div>}
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.