@redocly/theme
Version:
Shared UI components lib
10 lines (9 loc) • 408 B
TypeScript
import type { JSX } from 'react';
import type { CodeWalkthroughFile } from '@redocly/config';
export type CodePanelHeaderProps = {
files: CodeWalkthroughFile[];
handleTabSwitch: (name: string) => void;
activeTabName: string;
onDownloadCode: () => void;
};
export declare function CodePanelHeader({ files, handleTabSwitch, activeTabName, onDownloadCode, }: CodePanelHeaderProps): JSX.Element;