@ajpartnersltd/bitcoin-price-component
TypeScript icon, indicating that this package has built-in type declarations

1.0.9 • Public • Published

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.

Package Sidebar

Install

npm i @ajpartnersltd/bitcoin-price-component

Weekly Downloads

1

Version

1.0.9

License

ISC

Unpacked Size

45.7 kB

Total Files

8

Last publish

Collaborators

  • animasoul