stocks-heatmap
v0.2.0
Published
A vue3 component for stocks/crypto heatmap
Downloads
575
Readme
vue-stocks/crypto-heatmap
An Stocks/Crypto Heatmap component for Vue3.js
Installation
npm install stocks-heatmap
Stocks Heatmap Component
Import the component and type:
<script setup lang="ts">
import { Heatmap } from 'stocks-heatmap'
import type { Ticket } from 'stocks-heatmap'
const tickets = ref<Ticket[]>([])
</script>
<template>
<Heatmap :tickets="tickets" :onClickHandler="() => {}"/>
</template>