UNPKG

@bitcobblers/wod-wiki-library

Version:

A specialized markdown-like workout syntax editor and runtime for defining workouts

14 lines (13 loc) 562 B
import { WodRuntimeScript } from '../../core/WodRuntimeScript'; import { IRuntimeBlock } from '../../core/IRuntimeBlock'; interface WodWikiProps { id: string; code?: string; cursor?: IRuntimeBlock | undefined; /** Optional value change handler */ onValueChange?: (classObject?: WodRuntimeScript) => void; /** Optional callback when editor is mounted */ onMount?: (editor: any) => void; } export declare const WodWiki: ({ id, code, cursor, onValueChange, onMount }: WodWikiProps) => import("react/jsx-runtime").JSX.Element; export {};