Skip to content

Commit

Permalink
Toast Component varian.
Browse files Browse the repository at this point in the history
  • Loading branch information
moshiur01 committed Dec 10, 2024
1 parent 91115a7 commit 1a694e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions components/content/docs/components/toast/DefaultToast.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ import { DefaultToastCode } from "./toastCode";
<template>
<CodeHighlightWithPreview :code="DefaultToastCode">
<div class="flex items-center justify-center">
<Button @click="() => Toast.info('Keep Vue is Awesome')">
Default Toast
</Button>
<Button @click="() => Toast('Keep Vue is Awesome')">Show Toast</Button>
</div>
</CodeHighlightWithPreview>
</template>
4 changes: 1 addition & 3 deletions components/content/docs/components/toast/toastCode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ import { Button, Toast } from "keep-vue";
</script>
<template>
<Button @click="() => Toast.info('Keep Vue is Awesome')">
Default Toast
</Button>
<Button @click="() => Toast('Keep Vue is Awesome')">Show Toast</Button>
</template>`,
};

Expand Down

0 comments on commit 1a694e7

Please sign in to comment.