UNPKG

docusaurus-theme-openapi-docs

Version:

OpenAPI theme for Docusaurus.

16 lines (15 loc) 506 B
import React from "react"; import { type TabProps } from "@docusaurus/theme-common/internal"; import { Language } from "@theme/ApiExplorer/CodeSnippets"; export interface Props { action: { [key: string]: React.Dispatch<any>; }; currentLanguage: Language; languageSet: Language[]; includeVariant: boolean; } export interface CodeTabsProps extends Props, TabProps { includeSample?: boolean; } export default function CodeTabs(props: CodeTabsProps & Props): React.JSX.Element;