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

Commit dbd6192

Browse files
committed
feat: wrap code editor with tab
1 parent ae0d37f commit dbd6192

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

src/App.tsx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,15 @@ export const App: FC = () => {
4444
<Row>
4545
<Col md={12}>
4646
<h5> Code</h5>
47-
<Editor
48-
initial={DEFAULT_CODE}
49-
onChange={setCode}
50-
messages={messages}
51-
/>
47+
<Tabs>
48+
<Tab eventKey="code" title="Code">
49+
<Editor
50+
initial={DEFAULT_CODE}
51+
onChange={setCode}
52+
messages={messages}
53+
/>
54+
</Tab>
55+
</Tabs>
5256
</Col>
5357
</Row>
5458
<Row>

0 commit comments

Comments
 (0)