@jirkasa/code-box
Version:
Showcase code samples on the web with a container that lets users select and display different samples.
17 lines (16 loc) • 552 B
TypeScript
import CodeBoxOptions from "../CodeBoxOptions";
/** Tab code box options. */
type TabCodeBoxOptions = {
/** Path to the SVG sprite that contains icons. */
svgSpritePath?: string;
/** Names of the icons in the SVG sprite. */
svgSpriteIcons?: {
/** Icon for code view button. */
codeFile?: string;
/** Icon for file button. */
file?: string;
/** Icon that is displayed on file buttons with a download link. */
download?: string;
};
} & CodeBoxOptions;
export default TabCodeBoxOptions;