@ajpartnersltd/bitcoin-price-component
v1.0.9
Published
Bitcoin Price Component for React
Downloads
5
Maintainers
Readme
Bitcoin Price Component for React
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.