mycrystalball

1.0.2 • Public • Published

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.

License

MIT

Package Sidebar

Install

npm i mycrystalball

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

1.96 kB

Total Files

3

Last publish

Collaborators

  • angusalex