-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added vue component gradient button
- Loading branch information
Amirah Chamble
authored and
Amirah Chamble
committed
Aug 24, 2018
1 parent
b673cfe
commit bf0dc6c
Showing
4 changed files
with
60 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<template> | ||
<a class="ft-button--wrapper" href="#"> | ||
<BaseButton | ||
v-bind="$attrs" | ||
class="ft-button--gradient" | ||
v-on="$listeners" | ||
> | ||
<slot/> | ||
</BaseButton> | ||
</a> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import Vue from "vue" | ||
import BaseButton from "./BaseButton.vue" | ||
export default Vue.extend({ | ||
name: "ButtonGradient", | ||
components: { | ||
BaseButton | ||
}, | ||
}) | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters