Skip to content

Commit

Permalink
Adds circle buttons to Vue
Browse files Browse the repository at this point in the history
  • Loading branch information
roblevintennis committed Sep 21, 2020
1 parent ad531dc commit 79ba010
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions agnosticui-vue/src/stories/Button.vue
Expand Up @@ -32,6 +32,10 @@ export default {
type: Boolean,
default: false,
},
isCircle: {
type: Boolean,
default: false,
},
isRounded: {
type: Boolean,
default: false,
Expand Down Expand Up @@ -64,6 +68,7 @@ export default {
[this.$style["btn-blank"]]: this.isBlank,
[this.$style["btn-block"]]: this.isBlock,
[this.$style["btn-rounded"]]: this.isRounded,
[this.$style["btn-circle"]]: this.isCircle,
[this.$style["btn-raised"]]: this.isRaised,
[this.$style["btn-primary"]]: this.mode === "primary",
[this.$style["btn-secondary"]]: this.mode === "secondary",
Expand Down
3 changes: 3 additions & 0 deletions agnosticui-vue/src/stories/ButtonTests.vue
Expand Up @@ -8,6 +8,7 @@
<Button isRounded>Go</Button>
<Button isRaised isRounded>Go</Button>
<Button isBordered isRounded>Go</Button>
<Button isCircle isBordered>Go</Button>
</div>
<div>
<Button mode="primary">Go</Button>
Expand All @@ -17,6 +18,7 @@
<Button mode="primary" isRounded>Go</Button>
<Button mode="primary" isRaised isRounded>Go</Button>
<Button mode="primary" isBordered isRounded>Go</Button>
<Button mode="primary" isCircle isBordered>Go</Button>
</div>
<div>
<Button mode="secondary">Go</Button>
Expand All @@ -26,6 +28,7 @@
<Button mode="secondary" isRounded>Go</Button>
<Button mode="secondary" isRaised isRounded>Go</Button>
<Button mode="secondary" isBordered isRounded>Go</Button>
<Button mode="secondary" isCircle isBordered>Go</Button>
</div>

<div>
Expand Down

0 comments on commit 79ba010

Please sign in to comment.