License and updater Cargo features (#258)

This commit is contained in:
Gregory Schier
2025-09-29 22:08:05 -07:00
committed by GitHub
parent 6c79c1ef3f
commit 757d28c235
11 changed files with 124 additions and 52 deletions

View File

@@ -10,6 +10,7 @@ export type TabItem =
| {
value: string;
label: string;
hidden?: boolean;
rightSlot?: ReactNode;
}
| {
@@ -97,6 +98,10 @@ export function Tabs({
)}
>
{tabs.map((t) => {
if ('hidden' in t && t.hidden) {
return null;
}
const isActive = t.value === value;
const btnClassName = classNames(
'h-sm flex items-center rounded whitespace-nowrap',