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

Commit 8fd3546

Browse files
committed
chore: change class to label
1 parent 1194dbf commit 8fd3546

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/layout/src/box.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ export const CBox = defineComponent({
2424
setup(props, { slots, attrs }) {
2525
return () => {
2626
return h(
27-
chakra(props.as),
28-
{
29-
class: 'chakra-box',
27+
chakra(props.as, {
28+
label: 'box',
3029
...attrs,
31-
},
30+
}),
31+
{},
3232
slots
3333
)
3434
}
@@ -68,7 +68,7 @@ export const CSquare = defineComponent({
6868
return h(
6969
CBox,
7070
{
71-
class: 'chakra-square',
71+
label: 'square',
7272
boxSize: props.size,
7373
__css: {
7474
...styles,
@@ -96,7 +96,7 @@ export const CCircle = defineComponent({
9696
return h(
9797
CSquare,
9898
{
99-
class: 'chakra-circle',
99+
label: 'circle',
100100
borderRadius: '9999px',
101101
size: props.size,
102102
...attrs,

0 commit comments

Comments
 (0)