Skip to content

Commit

Permalink
lint: lint button
Browse files Browse the repository at this point in the history
  • Loading branch information
AnsGoo committed Mar 24, 2024
1 parent 075fe65 commit 4c4d4f5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/ui/Button/Button.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<template>
<button v-bind="$attrs" type="button" :class="classStyle" :style="{ width: btnWidth }" @click.prevent="handleClick">
<button
v-bind="$attrs"
type="button"
:class="classStyle"
:style="{ width: btnWidth }"
@click.prevent="handleClick"
>
<slot name="icon"></slot>
<slot></slot>
</button>
Expand Down

0 comments on commit 4c4d4f5

Please sign in to comment.