UNPKG

@prefecthq/prefect-ui-library

Version:

This library is the Vue and Typescript component library for [Prefect 2](https://github.com/PrefectHQ/prefect) and [Prefect Cloud 2](https://www.prefect.io/cloud/). _The components and utilities in this project are not meant to be used independently_.

20 lines (19 loc) 433 B
export type Tab = { title: string; key: string; icon?: string; class?: string; }; export type RouterTab = Tab & { route: { name: string; hash?: string; }; }; export declare function isRouterTab(input: Tab | RouterTab): input is RouterTab; type WithCount<T> = T & { count: number | null; }; export type ListTab = WithCount<Tab>; export type ListRouterTab = WithCount<RouterTab>; export {};