mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-29 19:52:54 +01:00
License and updater Cargo features (#258)
This commit is contained in:
1 parent
6c79c1ef3f
commit
757d28c235
11 files changed
+124
-52
No files matched your search
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user