@redocly/portal-legacy-ui
Version:
Library of legacy portal UI components
15 lines (14 loc) • 319 B
TypeScript
export type Version = {
version: string;
label: string;
link: string;
default: boolean;
active: boolean;
folderId: string;
};
type DropdownProps = {
items: Version[];
activeItem: Version;
};
export declare function Dropdown({ items, activeItem }: DropdownProps): JSX.Element;
export {};