1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-22 22:14:06 +02:00
This commit is contained in:
syuilo
2025-08-26 20:04:59 +09:00
parent ac7c60d102
commit b186c67767
7 changed files with 15 additions and 29 deletions

View File

@@ -39,17 +39,10 @@ SPDX-License-Identifier: AGPL-3.0-only
export type Tab = {
key: string;
onClick?: (ev: MouseEvent) => void;
} & (
| {
iconOnly?: false;
title: string;
icon?: string;
}
| {
iconOnly: true;
icon: string;
}
);
iconOnly?: boolean;
title: string;
icon?: string;
};
</script>
<script lang="ts" setup>