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

Commit 5bf4550

Browse files
committed
chore(icon): add component class
1 parent cf2a712 commit 5bf4550

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/c-icon/src/icon.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export const CIcon = defineComponent({
5656

5757
return () =>
5858
h(
59-
chakra(props.as),
59+
chakra(props.as, 'icon'),
6060
{ ...vnodeProps.value, ...(icon.value.attrs || {}), ...attrs },
6161
slots
6262
)

0 commit comments

Comments
 (0)