Skip to content

Angusalex/crystalball

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published