@devbookhq/ui
Version:
Devbook UI is a React UI library
16 lines (15 loc) • 578 B
TypeScript
/// <reference types="react" />
import { Language } from './language';
export interface Props {
initialContent?: string;
isReadonly?: boolean;
onContentChange?: (content: string) => void;
lightTheme?: boolean;
withFilesystem?: boolean;
filepath?: string;
language?: Language;
height?: string;
}
declare function Editor({ initialContent, onContentChange, filepath, isReadonly, language, lightTheme, height, }: Props): JSX.Element;
declare const _default: import("react").MemoExoticComponent<typeof Editor>;
export default _default;