We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20af25e commit ea857f2Copy full SHA for ea857f2
packages/mdx/src/mini-editor/editor-frame.tsx
@@ -167,7 +167,7 @@ function TabsContainer({
167
)}
168
{showFrameButtons ? <FrameButtons /> : <div />}
169
{tabs.map(({ title, active, style }) => (
170
- <div
+ <button
171
key={title}
172
title={title}
173
data-ch-tab={panel}
@@ -198,9 +198,10 @@ function TabsContainer({
198
),
199
}}
200
onClick={onTabClick && (() => onTabClick(title))}
201
+ type="button"
202
>
203
<TabTitle title={title} />
- </div>
204
+ </button>
205
))}
206
<div style={{ flex: 1, minWidth: "0.8em" }} />
207
{button}
0 commit comments