1.0.9 • Published 7 months ago

@ajpartnersltd/bitcoin-price-component v1.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
7 months ago

Bitcoin Price Component for React

React Logo Axios Logo

This is a simple React component to display the current Bitcoin price using the Coindesk API.

Installation

npm install bitcoin-price-component

Usage

Import the component into your React app:

import BitcoinPrice from 'bitcoin-price-component';

Then use it in your component: **note: Label is not necessary, if ommited will default to "Bitcoin Price Data:"

function App() {
  return (
    <div>
      <BitcoinPrice label="Some text Here" />
    </div>
  );
}

Live Demo

You can see this component in action at LayerFi.

About the Author

Abel Rogers - A seasoned web developer. You can find more about him and his projects:

License

This project is licensed under the ISC License.