UNPKG

@jirkasa/code-box

Version:

Showcase code samples on the web with a container that lets users select and display different samples.

24 lines (23 loc) 881 B
import CodeBoxFileManager from "../CodeBoxFileManager"; import FileButton from "../FileButton"; import TabCodeBoxFile from "./TabCodeBoxFile"; /** Used internally by TabCodeBox to store file. */ declare class FileEntry { /** Code box file. */ readonly codeBoxFile: TabCodeBoxFile; /** Code box file manager. */ readonly codeBoxFileManager: CodeBoxFileManager; /** File button. */ readonly fileButton: FileButton; /** Position of file button. */ position: number; /** * Creates new file entry. * @param codeBoxFile Code box file. * @param codeBoxFileManager Code box file manager. * @param fileButton File button. * @param position Position of file button. */ constructor(codeBoxFile: TabCodeBoxFile, codeBoxFileManager: CodeBoxFileManager, fileButton: FileButton, position: number); } export default FileEntry;