UNPKG

@redocly/theme

Version:

Shared UI components lib

10 lines (9 loc) 393 B
import type { CodeWalkthroughFile } from '@redocly/config'; import type { IconProps } from '../../../icons/types'; export type RenderableFile = CodeWalkthroughFile & { FileIcon: React.FunctionComponent<IconProps>; parentFolder: string; isNameDuplicate: boolean; inRootDir: boolean; }; export declare function useRenderableFiles(files: CodeWalkthroughFile[]): RenderableFile[];