@gdquest/gd-exercise-wrapper
Version:
React component that wraps an iframe that loads a GDExercise.
20 lines (19 loc) • 537 B
TypeScript
import { type JSX } from "react";
export interface GdExerciseWrapperOpenFile {
path: string;
focus?: boolean;
override?: string;
}
export interface GdExerciseWrapperProps {
loader?: string;
dataPath: string;
mainScene: string;
openFiles?: GdExerciseWrapperOpenFile[];
height: string | number;
hideCode?: boolean;
hideConsole?: boolean;
hidePlayer?: boolean;
hideTest?: boolean;
snippet?: string;
}
export default function GdExerciseWrapper(props: GdExerciseWrapperProps): JSX.Element;