Skip to content

Commit 144cee9

Browse files
committed
refactor: change button class
1 parent a409607 commit 144cee9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/n-button/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ const NButton = defineComponent({
2727
const { size, disabled, loading, icon, type } = buttonProps;
2828
const classString = classNames([
2929
'nbutton',
30-
`${type}`,
30+
type,
3131
disabled ? 'nbutton-disabled' : '',
32-
`${size}`
32+
size
3333
]);
3434
const renderIcon = () => {
3535
if (loading || icon) {

0 commit comments

Comments
 (0)