Skip to content

Commit 997c947

Browse files
committed
docs: update example to use correct button syntax
1 parent a6787f5 commit 997c947

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docs/coding/timeline.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,7 @@ the `finish()` method):
541541
```vue
542542
<script setup>
543543
import useAPI from '@/core/composables/useAPI'
544+
import { Button } from '@/uikit/components/ui/button'
544545
const api = useAPI()
545546
546547
function finish(goto) {
@@ -551,9 +552,9 @@ function finish(goto) {
551552
<template>
552553
<div class="page">
553554
<h1 class="title is-3">Experiment</h1>
554-
<button class="button is-success is-light" id="finish" @click="finish()">
555+
<Button variant="success-light" @click="finish()">
555556
next &nbsp;<i-fa6-solid-arrow-right />
556-
</button>
557+
</Button>
557558
</div>
558559
</template>
559560
```

0 commit comments

Comments
 (0)