Skip to content

Commit

Permalink
feat: add large size demo for badge
Browse files Browse the repository at this point in the history
  • Loading branch information
xsf0105 committed Mar 2, 2023
1 parent 0e98495 commit 4bf8988
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/quark/src/badge/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@
<div class="badge-container">
<quark-badge type="label" :content="translate('word')"></quark-badge>
</div>
<div class="badge-container">
<quark-badge
type="label"
size="big"
:content="translate('word2')"
></quark-badge>
</div>

<h2>{{ translate("type") }}</h2>
<div class="badge-container">
Expand Down Expand Up @@ -98,6 +105,7 @@ export default createDemo({
"zh-CN": {
independent: "徽标独立使用",
word: "文字徽标",
word2: "最高立减5元",
type: "徽标类型",
size: "徽标大小",
style: "徽标风格",
Expand All @@ -109,6 +117,7 @@ export default createDemo({
"en-US": {
independent: "Badge Independent Use",
word: "Word Badge",
word2: "Up to $5 off",
type: "Badge Type",
size: "Badge Size",
style: "Badge Style",
Expand Down

0 comments on commit 4bf8988

Please sign in to comment.