Skip to content

Commit 90d8100

Browse files
committed
refactor: update tabs component
1 parent 38fc15a commit 90d8100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/remark-code-tabs/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ function createTabs(tabNodes, { labels }) {
140140
})
141141

142142
return {
143-
attributes: [{ name: 'activeItemKey', type: 'mdxJsxAttribute', value: 0 }],
143+
attributes: [{ name: 'defaultActiveItemKey', type: 'mdxJsxAttribute', value: 0 }],
144144
children: [
145145
{
146146
attributes: [

0 commit comments

Comments
 (0)