solive-docusaurus-theme-code
Version:
A Docusaurus v2 plugin that supports solidity code live.
18 lines (14 loc) • 409 B
text/typescript
import type { Props } from '@theme-init/CodeBlock';
export interface SoliveCodeBlockProps extends Props {
solive: string;
height?: string;
width?: string;
deployDefaultVisible?: string;
consoleDefaultVisible?: string;
fileNavOpen?: string;
}
export type DispatchTypes = 'reset' | 'loading' | 'loaded' | 'error'
export interface DispatchMessage {
type: DispatchTypes
value: string | Error
}