@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
17 lines • 426 B
text/typescript
import { ReactNode } from "react";
//#region src/dashboard/PageTabs/type.d.ts
interface PageTab<Value extends string> {
content: ReactNode;
count?: ReactNode;
label: string;
value: Value;
}
interface PageTabsProps<Value extends string> {
label: string;
onChange: (value: Value) => void;
tabs: PageTab<Value>[];
value: Value;
}
//#endregion
export { PageTab, PageTabsProps };
//# sourceMappingURL=type.d.mts.map