Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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)

AltStyle によって変換されたページ (->オリジナル) /