Skip to content

Commit

Permalink
docs(VSparkline): update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed Feb 20, 2024
1 parent 21861e0 commit c7eeda2
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
padding="24"
stroke-linecap="round"
smooth
type="bar"
>
<template v-slot:label="item">
${{ item.value }}
Expand Down
48 changes: 23 additions & 25 deletions packages/docs/src/examples/v-sparkline/misc-heart-rate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,38 +4,36 @@
color="grey-lighten-4"
max-width="600"
>
<v-card-title>
<template v-slot:prepend>
<v-icon
:color="checking ? 'red lighten-2' : 'indigo'"
class="me-12"
class="me-8"
size="64"
icon="mdi-heart-pulse"
@click="takePulse"
>
mdi-heart-pulse
</v-icon>
<v-row align="start">
<div class="text-caption text-grey text-uppercase">
Heart rate
</div>
<div>
<span
class="text-h3 font-weight-black"
v-text="avg || ''"
></span>
<strong v-if="avg">BPM</strong>
</div>
</v-row>

<v-spacer></v-spacer>
></v-icon>
</template>

<template v-slot:title>
<div class="text-caption text-grey text-uppercase">
Heart rate
</div>

<span
class="text-h3 font-weight-black"
v-text="avg || ''"
></span>
<strong v-if="avg">BPM</strong>
</template>

<template v-slot:append>
<v-btn
icon
icon="mdi-arrow-right-thick"
class="align-self-start"
size="28"
>
<v-icon>mdi-arrow-right-thick</v-icon>
</v-btn>
</v-card-title>
size="34"
variant="text"
></v-btn>
</template>

<v-sheet color="transparent">
<v-sparkline
Expand Down

0 comments on commit c7eeda2

Please sign in to comment.