1
0

build(#10336): finalize

This commit is contained in:
Acid Chicken (硫酸鶏)
2023-04-01 16:26:08 +09:00
parent 38b153ca94
commit 1521bb088c
18 changed files with 581 additions and 30 deletions
@@ -33,14 +33,18 @@
<script lang="ts">
export type Tab = {
key: string;
title: string;
icon?: string;
iconOnly?: boolean;
onClick?: (ev: MouseEvent) => void;
} & {
iconOnly: true;
iccn: string;
};
} & (
| {
iconOnly?: false;
title: string;
icon?: string;
}
| {
iconOnly: true;
icon: string;
}
);
</script>
<script lang="ts" setup>