Skip to content

Commit f8cc0d8

Browse files
committed
cleanup tabs
1 parent 3cad3ad commit f8cc0d8

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

src/components/repl.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ import { Icon } from 'solid-heroicons';
33
import { refresh, terminal } from 'solid-heroicons/outline';
44
import { unwrap } from 'solid-js/store';
55
import { Preview } from './preview';
6-
import { TabItem } from './tab/item';
7-
import { TabList } from './tab/list';
6+
import { TabItem, TabList } from './tabs';
87
import { GridResizer } from './gridResizer';
98
import { Error } from './error';
109
import { throttle } from '@solid-primitives/scheduled';

src/components/tab/list.tsx

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/components/tab/item.tsx renamed to src/components/tabs/index.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,7 @@ export const TabItem: ParentComponent<{
1818
</li>
1919
);
2020
};
21+
22+
export const TabList: ParentComponent = (props) => {
23+
return <ul class="flex tabs flex-wrap items-center list-none m-0">{props.children}</ul>;
24+
};

0 commit comments

Comments
 (0)