Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit ece44e8

Browse files
committed
chore: update button labels
1 parent 5fa522e commit ece44e8

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

packages/c-button/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"@chakra-ui/styled-system": "^1.4.1",
2727
"@chakra-ui/vue-system": "*",
2828
"@chakra-ui/vue-utils": "*",
29-
"@chakra-ui/c-icon": "*"
29+
"@chakra-ui/c-icon": "*",
30+
"@chakra-ui/c-spinner": "*"
3031
}
3132
}

packages/c-button/src/button.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,10 @@ const CButton = defineComponent({
148148

149149
return () =>
150150
h(
151-
chakra(props.as),
152-
{
151+
chakra(props.as, {
153152
label: 'button',
153+
}),
154+
{
154155
disabled: props.isDisabled || props.isLoading,
155156
type: props.as === 'button' ? undefined : props.type,
156157
dataActive: dataAttr(props.isActive),

0 commit comments

Comments
 (0)